=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for xview-lib-3.2.1nb9 making all in ./lib... making all in lib/libolgx... rm -f ol_button.o shared/ol_button.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_button.c ol_button.c:237:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] centerx = (width - ((Pixlabel *) label)->width >> 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ol_button.c:237:23: note: place parentheses around the '-' expression to silence this warning centerx = (width - ((Pixlabel *) label)->width >> 1); ^ ( ) ol_button.c:238:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] centery = (height - ((Pixlabel *) label)->height >> 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ol_button.c:238:24: note: place parentheses around the '-' expression to silence this warning centery = (height - ((Pixlabel *) label)->height >> 1); ^ ( ) ol_button.c:250:23: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] centerx = (width - ((Pixlabel *) label)->width >> 1); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ol_button.c:250:23: note: place parentheses around the '-' expression to silence this warning centerx = (width - ((Pixlabel *) label)->width >> 1); ^ ( ) ol_button.c:251:24: warning: operator '>>' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses] centery = (height - ((Pixlabel *) label)->height >> 1); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ ol_button.c:251:24: note: place parentheses around the '-' expression to silence this warning centery = (height - ((Pixlabel *) label)->height >> 1); ^ ( ) ol_button.c:178:15: warning: implicit conversion from 'int' to 'char' changes value from 146 to -110 [-Wconstant-conversion] string[0] = BUTTON_FILL_2D_LEFTENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:263:36: note: expanded from macro 'BUTTON_FILL_2D_LEFTENDCAP' #define BUTTON_FILL_2D_LEFTENDCAP 146 ^~~ ol_button.c:180:19: warning: implicit conversion from 'int' to 'char' changes value from 147 to -109 [-Wconstant-conversion] string[i + 1] = BUTTON_FILL_2D_RIGHTENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:264:42: note: expanded from macro 'BUTTON_FILL_2D_RIGHTENDCAP' #define BUTTON_FILL_2D_RIGHTENDCAP 147 ^~~ ol_button.c:188:15: warning: implicit conversion from 'int' to 'char' changes value from 146 to -110 [-Wconstant-conversion] string[0] = BUTTON_FILL_2D_LEFTENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:263:36: note: expanded from macro 'BUTTON_FILL_2D_LEFTENDCAP' #define BUTTON_FILL_2D_LEFTENDCAP 146 ^~~ ol_button.c:190:19: warning: implicit conversion from 'int' to 'char' changes value from 147 to -109 [-Wconstant-conversion] string[i + 1] = BUTTON_FILL_2D_RIGHTENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:264:42: note: expanded from macro 'BUTTON_FILL_2D_RIGHTENDCAP' #define BUTTON_FILL_2D_RIGHTENDCAP 147 ^~~ ol_button.c:208:15: warning: implicit conversion from 'int' to 'char' changes value from 153 to -103 [-Wconstant-conversion] string[0] = MENU_DFLT_OUTLINE_LEFT_ENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:270:49: note: expanded from macro 'MENU_DFLT_OUTLINE_LEFT_ENDCAP' #define MENU_DFLT_OUTLINE_LEFT_ENDCAP 153 ^~~ ol_button.c:210:19: warning: implicit conversion from 'int' to 'char' changes value from 154 to -102 [-Wconstant-conversion] string[i + 1] = MENU_DFLT_OUTLINE_RIGHT_ENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:271:49: note: expanded from macro 'MENU_DFLT_OUTLINE_RIGHT_ENDCAP' #define MENU_DFLT_OUTLINE_RIGHT_ENDCAP 154 ^~~ ol_button.c:218:15: warning: implicit conversion from 'int' to 'char' changes value from 139 to -117 [-Wconstant-conversion] string[0] = BUTTON_OUTLINE_LEFT_ENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:256:37: note: expanded from macro 'BUTTON_OUTLINE_LEFT_ENDCAP' #define BUTTON_OUTLINE_LEFT_ENDCAP 139 ^~~ ol_button.c:220:19: warning: implicit conversion from 'int' to 'char' changes value from 140 to -116 [-Wconstant-conversion] string[i + 1] = BUTTON_OUTLINE_RIGHT_ENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:257:38: note: expanded from macro 'BUTTON_OUTLINE_RIGHT_ENDCAP' #define BUTTON_OUTLINE_RIGHT_ENDCAP 140 ^~~ ol_button.c:346:14: warning: implicit conversion from 'int' to 'char' changes value from 160 to -96 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_UL; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:277:30: note: expanded from macro 'PIXLABEL_BUTTON_UL' #define PIXLABEL_BUTTON_UL 160 ^~~ ol_button.c:351:14: warning: implicit conversion from 'int' to 'char' changes value from 212 to -44 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_UR; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:329:33: note: expanded from macro 'PIXLABEL_BUTTON_UR' #define PIXLABEL_BUTTON_UR 212 ^~~ ol_button.c:356:14: warning: implicit conversion from 'int' to 'char' changes value from 161 to -95 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_LL; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:278:30: note: expanded from macro 'PIXLABEL_BUTTON_LL' #define PIXLABEL_BUTTON_LL 161 ^~~ ol_button.c:361:14: warning: implicit conversion from 'int' to 'char' changes value from 213 to -43 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_LR; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:330:33: note: expanded from macro 'PIXLABEL_BUTTON_LR' #define PIXLABEL_BUTTON_LR 213 ^~~ ol_button.c:400:14: warning: implicit conversion from 'int' to 'char' changes value from 160 to -96 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_UL; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:277:30: note: expanded from macro 'PIXLABEL_BUTTON_UL' #define PIXLABEL_BUTTON_UL 160 ^~~ ol_button.c:402:14: warning: implicit conversion from 'int' to 'char' changes value from 212 to -44 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_UR; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:329:33: note: expanded from macro 'PIXLABEL_BUTTON_UR' #define PIXLABEL_BUTTON_UR 212 ^~~ ol_button.c:406:14: warning: implicit conversion from 'int' to 'char' changes value from 161 to -95 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_LL; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:278:30: note: expanded from macro 'PIXLABEL_BUTTON_LL' #define PIXLABEL_BUTTON_LL 161 ^~~ ol_button.c:410:14: warning: implicit conversion from 'int' to 'char' changes value from 213 to -43 [-Wconstant-conversion] string[0] = PIXLABEL_BUTTON_LR; ~ ^~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:330:33: note: expanded from macro 'PIXLABEL_BUTTON_LR' #define PIXLABEL_BUTTON_LR 213 ^~~ ol_button.c:438:14: warning: implicit conversion from 'int' to 'char' changes value from 215 to -41 [-Wconstant-conversion] string[0] = PIXLABEL_DEF_BUTTON_UL; ~ ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:332:35: note: expanded from macro 'PIXLABEL_DEF_BUTTON_UL' #define PIXLABEL_DEF_BUTTON_UL 215 ^~~ ol_button.c:442:14: warning: implicit conversion from 'int' to 'char' changes value from 217 to -39 [-Wconstant-conversion] string[0] = PIXLABEL_DEF_BUTTON_UR; ~ ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:334:35: note: expanded from macro 'PIXLABEL_DEF_BUTTON_UR' #define PIXLABEL_DEF_BUTTON_UR 217 ^~~ ol_button.c:446:14: warning: implicit conversion from 'int' to 'char' changes value from 216 to -40 [-Wconstant-conversion] string[0] = PIXLABEL_DEF_BUTTON_LL; ~ ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:333:35: note: expanded from macro 'PIXLABEL_DEF_BUTTON_LL' #define PIXLABEL_DEF_BUTTON_LL 216 ^~~ ol_button.c:451:14: warning: implicit conversion from 'int' to 'char' changes value from 218 to -38 [-Wconstant-conversion] string[0] = PIXLABEL_DEF_BUTTON_LR; ~ ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:335:35: note: expanded from macro 'PIXLABEL_DEF_BUTTON_LR' #define PIXLABEL_DEF_BUTTON_LR 218 ^~~ ol_button.c:498:14: warning: implicit conversion from 'int' to 'char' changes value from 205 to -51 [-Wconstant-conversion] string[0] = HORIZ_BACK_MENU_MARK_UL; ~ ^~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:322:35: note: expanded from macro 'HORIZ_BACK_MENU_MARK_UL' #define HORIZ_BACK_MENU_MARK_UL 205 ^~~ ol_button.c:500:14: warning: implicit conversion from 'int' to 'char' changes value from 202 to -54 [-Wconstant-conversion] string[0] = VERT_BACK_MENU_MARK_UL; ~ ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:319:34: note: expanded from macro 'VERT_BACK_MENU_MARK_UL' #define VERT_BACK_MENU_MARK_UL 202 ^~~ ol_button.c:997:41: warning: '&' within '|' [-Wbitwise-op-parentheses] OLGX_HORIZ_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:997:41: note: place parentheses around the '&' expression to silence this warning OLGX_HORIZ_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:1000:46: warning: '&' within '|' [-Wbitwise-op-parentheses] OLGX_HORIZ_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:1000:46: note: place parentheses around the '&' expression to silence this warning OLGX_HORIZ_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:975:15: warning: implicit conversion from 'int' to 'char' changes value from 231 to -25 [-Wconstant-conversion] string[0] = TEXTSCROLLBUTTON_RIGHT_INV; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:348:49: note: expanded from macro 'TEXTSCROLLBUTTON_RIGHT_INV' #define TEXTSCROLLBUTTON_RIGHT_INV 231 ^~~ ol_button.c:977:15: warning: implicit conversion from 'int' to 'char' changes value from 229 to -27 [-Wconstant-conversion] string[0] = TEXTSCROLLBUTTON_RIGHT; ~ ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:346:49: note: expanded from macro 'TEXTSCROLLBUTTON_RIGHT' #define TEXTSCROLLBUTTON_RIGHT 229 ^~~ ol_button.c:984:15: warning: implicit conversion from 'int' to 'char' changes value from 230 to -26 [-Wconstant-conversion] string[0] = TEXTSCROLLBUTTON_LEFT_INV; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:347:49: note: expanded from macro 'TEXTSCROLLBUTTON_LEFT_INV' #define TEXTSCROLLBUTTON_LEFT_INV 230 ^~~ ol_button.c:986:15: warning: implicit conversion from 'int' to 'char' changes value from 228 to -28 [-Wconstant-conversion] string[0] = TEXTSCROLLBUTTON_LEFT; ~ ^~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:345:49: note: expanded from macro 'TEXTSCROLLBUTTON_LEFT' #define TEXTSCROLLBUTTON_LEFT 228 ^~~ ol_button.c:1067:48: warning: '&' within '|' [-Wbitwise-op-parentheses] OLGX_VERT_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:1067:48: note: place parentheses around the '&' expression to silence this warning OLGX_VERT_BACK_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:1069:43: warning: '&' within '|' [-Wbitwise-op-parentheses] OLGX_VERT_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:1069:43: note: place parentheses around the '&' expression to silence this warning OLGX_VERT_MENU_MARK | OLGX_INVOKED & ~OLGX_INACTIVE, 1); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ol_button.c:1048:18: warning: implicit conversion from 'int' to 'char' changes value from 234 to -22 [-Wconstant-conversion] string[0] = NUMERIC_SCROLL_BUTTON_RIGHT_INV; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:351:49: note: expanded from macro 'NUMERIC_SCROLL_BUTTON_RIGHT_INV' #define NUMERIC_SCROLL_BUTTON_RIGHT_INV 234 ^~~ ol_button.c:1051:18: warning: implicit conversion from 'int' to 'char' changes value from 233 to -23 [-Wconstant-conversion] string[0] = NUMERIC_SCROLL_BUTTON_LEFT_INV; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:350:49: note: expanded from macro 'NUMERIC_SCROLL_BUTTON_LEFT_INV' #define NUMERIC_SCROLL_BUTTON_LEFT_INV 233 ^~~ ol_button.c:1054:18: warning: implicit conversion from 'int' to 'char' changes value from 232 to -24 [-Wconstant-conversion] string[0] = NUMERIC_SCROLL_BUTTON_NORMAL; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:349:49: note: expanded from macro 'NUMERIC_SCROLL_BUTTON_NORMAL' #define NUMERIC_SCROLL_BUTTON_NORMAL 232 ^~~ 37 warnings generated. cp ol_button.o shared/ol_button.o rm -f ol_color.o shared/ol_color.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_color.c cp ol_color.o shared/ol_color.o rm -f ol_draw.o shared/ol_draw.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_draw.c cp ol_draw.o shared/ol_draw.o rm -f ol_init.o shared/ol_init.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_init.c ol_init.c:205:17: warning: implicit conversion from 'int' to 'char' changes value from 186 to -70 [-Wconstant-conversion] string[0] = HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:303:42: note: expanded from macro 'HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE' #define HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE 186 ^~~ ol_init.c:222:17: warning: implicit conversion from 'int' to 'char' changes value from 199 to -57 [-Wconstant-conversion] string[0] = SLIDER_CHANNEL_OFFSET; ~ ^~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:316:33: note: expanded from macro 'SLIDER_CHANNEL_OFFSET' #define SLIDER_CHANNEL_OFFSET 199 /* special char */ ^~~ ol_init.c:252:17: warning: implicit conversion from 'int' to 'char' changes value from 228 to -28 [-Wconstant-conversion] string[0] = TEXTSCROLLBUTTON_LEFT; ~ ^~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:345:49: note: expanded from macro 'TEXTSCROLLBUTTON_LEFT' #define TEXTSCROLLBUTTON_LEFT 228 ^~~ ol_init.c:551:17: warning: implicit conversion from 'int' to 'char' changes value from 186 to -70 [-Wconstant-conversion] string[0] = HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:303:42: note: expanded from macro 'HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE' #define HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE 186 ^~~ ol_init.c:568:17: warning: implicit conversion from 'int' to 'char' changes value from 199 to -57 [-Wconstant-conversion] string[0] = SLIDER_CHANNEL_OFFSET; ~ ^~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:316:33: note: expanded from macro 'SLIDER_CHANNEL_OFFSET' #define SLIDER_CHANNEL_OFFSET 199 /* special char */ ^~~ ol_init.c:598:17: warning: implicit conversion from 'int' to 'char' changes value from 228 to -28 [-Wconstant-conversion] string[0] = TEXTSCROLLBUTTON_LEFT; ~ ^~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:345:49: note: expanded from macro 'TEXTSCROLLBUTTON_LEFT' #define TEXTSCROLLBUTTON_LEFT 228 ^~~ ol_init.c:1196:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ ol_init.c:1543:23: warning: incompatible pointer to integer conversion assigning to 'Pixmap' (aka 'unsigned long') from 'void *' [-Wint-conversion] cur->busy_stipple = NULL; ^ ~~~~ ol_init.c:1544:23: warning: incompatible pointer to integer conversion assigning to 'Pixmap' (aka 'unsigned long') from 'void *' [-Wint-conversion] cur->grey_stipple = NULL; ^ ~~~~ 9 warnings generated. cp ol_init.o shared/ol_init.o rm -f ol_misc.o shared/ol_misc.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_misc.c ol_misc.c:103:18: warning: implicit conversion from 'int' to 'char' changes value from 183 to -73 [-Wconstant-conversion] string[0] = PUSHPIN_OUT_DEFAULT_TOP; ~ ^~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:300:35: note: expanded from macro 'PUSHPIN_OUT_DEFAULT_TOP' #define PUSHPIN_OUT_DEFAULT_TOP 183 ^~~ ol_misc.c:105:18: warning: implicit conversion from 'int' to 'char' changes value from 184 to -72 [-Wconstant-conversion] string[0] = PUSHPIN_OUT_DEFAULT_BOTTOM; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:301:38: note: expanded from macro 'PUSHPIN_OUT_DEFAULT_BOTTOM' #define PUSHPIN_OUT_DEFAULT_BOTTOM 184 ^~~ ol_misc.c:107:18: warning: implicit conversion from 'int' to 'char' changes value from 185 to -71 [-Wconstant-conversion] string[0] = PUSHPIN_OUT_DEFAULT_MIDDLE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:302:38: note: expanded from macro 'PUSHPIN_OUT_DEFAULT_MIDDLE' #define PUSHPIN_OUT_DEFAULT_MIDDLE 185 ^~~ 3 warnings generated. cp ol_misc.o shared/ol_misc.o rm -f ol_sb.o shared/ol_sb.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_sb.c ol_sb.c:269:5: warning: implicit conversion from 'int' to 'char' changes value from 138 to -118 [-Wconstant-conversion] : HORIZ_SB_LEFTBOX_FILL; ^~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:255:33: note: expanded from macro 'HORIZ_SB_LEFTBOX_FILL' #define HORIZ_SB_LEFTBOX_FILL 138 ^~~ ol_sb.c:287:3: warning: implicit conversion from 'int' to 'char' changes value from 135 to -121 [-Wconstant-conversion] HORIZ_SB_RIGHTBOX_FILL; ^~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:252:34: note: expanded from macro 'HORIZ_SB_RIGHTBOX_FILL' #define HORIZ_SB_RIGHTBOX_FILL 135 ^~~ ol_sb.c:298:18: warning: implicit conversion from 'int' to 'char' changes value from 196 to -60 [-Wconstant-conversion] string[0] = DIMPLE_UL; ~ ^~~~~~~~~ ../../build/include/olgx/olgx.h:313:22: note: expanded from macro 'DIMPLE_UL' #define DIMPLE_UL 196 ^~~ ol_sb.c:302:18: warning: implicit conversion from 'int' to 'char' changes value from 197 to -59 [-Wconstant-conversion] string[0] = DIMPLE_LR; ~ ^~~~~~~~~ ../../build/include/olgx/olgx.h:314:22: note: expanded from macro 'DIMPLE_LR' #define DIMPLE_LR 197 ^~~ ol_sb.c:306:18: warning: implicit conversion from 'int' to 'char' changes value from 198 to -58 [-Wconstant-conversion] string[0] = DIMPLE_FILL; ~ ^~~~~~~~~~~ ../../build/include/olgx/olgx.h:315:24: note: expanded from macro 'DIMPLE_FILL' #define DIMPLE_FILL 198 ^~~ ol_sb.c:315:44: warning: implicit conversion from 'int' to 'char' changes value from 194 to -62 [-Wconstant-conversion] string[0] = (state & OLGX_VERTICAL) ? VERT_SB_BOX_UL : HORIZ_SB_BOX_UL; ~ ^~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:311:28: note: expanded from macro 'VERT_SB_BOX_UL' #define VERT_SB_BOX_UL 194 ^~~ ol_sb.c:315:61: warning: implicit conversion from 'int' to 'char' changes value from 200 to -56 [-Wconstant-conversion] string[0] = (state & OLGX_VERTICAL) ? VERT_SB_BOX_UL : HORIZ_SB_BOX_UL; ~ ^~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:317:28: note: expanded from macro 'HORIZ_SB_BOX_UL' #define HORIZ_SB_BOX_UL 200 ^~~ ol_sb.c:319:44: warning: implicit conversion from 'int' to 'char' changes value from 195 to -61 [-Wconstant-conversion] string[0] = (state & OLGX_VERTICAL) ? VERT_SB_BOX_LR : HORIZ_SB_BOX_LR; ~ ^~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:312:28: note: expanded from macro 'VERT_SB_BOX_LR' #define VERT_SB_BOX_LR 195 ^~~ ol_sb.c:319:61: warning: implicit conversion from 'int' to 'char' changes value from 201 to -55 [-Wconstant-conversion] string[0] = (state & OLGX_VERTICAL) ? VERT_SB_BOX_LR : HORIZ_SB_BOX_LR; ~ ^~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:318:28: note: expanded from macro 'HORIZ_SB_BOX_LR' #define HORIZ_SB_BOX_LR 201 ^~~ 9 warnings generated. cp ol_sb.o shared/ol_sb.o rm -f ol_slider.o shared/ol_slider.o clang -c -fPIC -O -I../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB ol_slider.c ol_slider.c:98:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register y_slider_offset; ~~~~~~~~ ^ ol_slider.c:117:14: warning: implicit conversion from 'int' to 'char' changes value from 173 to -83 [-Wconstant-conversion] string[0] = HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:290:42: note: expanded from macro 'HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE' #define HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE 173 ^~~ ol_slider.c:119:24: warning: implicit conversion from 'int' to 'char' changes value from 174 to -82 [-Wconstant-conversion] string[1 + num_add] = HORIZ_SLIDER_RIGHT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:291:43: note: expanded from macro 'HORIZ_SLIDER_RIGHT_ENDCAP_OUTLINE' #define HORIZ_SLIDER_RIGHT_ENDCAP_OUTLINE 174 ^~~ ol_slider.c:227:18: warning: implicit conversion from 'int' to 'char' changes value from 172 to -84 [-Wconstant-conversion] string[0] = HORIZ_SLIDER_CONTROL_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:289:39: note: expanded from macro 'HORIZ_SLIDER_CONTROL_OUTLINE' #define HORIZ_SLIDER_CONTROL_OUTLINE 172 ^~~ ol_slider.c:262:18: warning: implicit conversion from 'int' to 'char' changes value from 182 to -74 [-Wconstant-conversion] string[0] = VERT_SLIDER_CONTROL_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:299:38: note: expanded from macro 'VERT_SLIDER_CONTROL_OUTLINE' #define VERT_SLIDER_CONTROL_OUTLINE 182 ^~~ ol_slider.c:351:15: warning: implicit conversion from 'int' to 'char' changes value from 173 to -83 [-Wconstant-conversion] string[0] = HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:290:42: note: expanded from macro 'HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE' #define HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE 173 ^~~ ol_slider.c:422:15: warning: implicit conversion from 'int' to 'char' changes value from 174 to -82 [-Wconstant-conversion] string[0] = HORIZ_SLIDER_RIGHT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:291:43: note: expanded from macro 'HORIZ_SLIDER_RIGHT_ENDCAP_OUTLINE' #define HORIZ_SLIDER_RIGHT_ENDCAP_OUTLINE 174 ^~~ ol_slider.c:537:15: warning: implicit conversion from 'int' to 'char' changes value from 181 to -75 [-Wconstant-conversion] string[0] = VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:298:43: note: expanded from macro 'VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE' #define VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE 181 ^~~ ol_slider.c:610:15: warning: implicit conversion from 'int' to 'char' changes value from 180 to -76 [-Wconstant-conversion] string[0] = VERT_SLIDER_TOP_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:297:41: note: expanded from macro 'VERT_SLIDER_TOP_ENDCAP_OUTLINE' #define VERT_SLIDER_TOP_ENDCAP_OUTLINE 180 ^~~ ol_slider.c:678:14: warning: implicit conversion from 'int' to 'char' changes value from 181 to -75 [-Wconstant-conversion] string[0] = VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:298:43: note: expanded from macro 'VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE' #define VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE 181 ^~~ ol_slider.c:702:14: warning: implicit conversion from 'int' to 'char' changes value from 180 to -76 [-Wconstant-conversion] string[0] = VERT_SLIDER_TOP_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:297:41: note: expanded from macro 'VERT_SLIDER_TOP_ENDCAP_OUTLINE' #define VERT_SLIDER_TOP_ENDCAP_OUTLINE 180 ^~~ ol_slider.c:833:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register left_offset; ~~~~~~~~ ^ ol_slider.c:843:14: warning: implicit conversion from 'int' to 'char' changes value from 186 to -70 [-Wconstant-conversion] string[0] = HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:303:42: note: expanded from macro 'HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE' #define HORIZ_GAUGE_LEFT_ENDCAP_OUTLINE 186 ^~~ ol_slider.c:845:24: warning: implicit conversion from 'int' to 'char' changes value from 187 to -69 [-Wconstant-conversion] string[1 + num_add] = HORIZ_GAUGE_RIGHT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:304:42: note: expanded from macro 'HORIZ_GAUGE_RIGHT_ENDCAP_OUTLINE' #define HORIZ_GAUGE_RIGHT_ENDCAP_OUTLINE 187 ^~~ ol_slider.c:886:14: warning: implicit conversion from 'int' to 'char' changes value from 219 to -37 [-Wconstant-conversion] string[0] = HORIZ_GAUGE_LEFT_ENDFILL; ~ ^~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:336:49: note: expanded from macro 'HORIZ_GAUGE_LEFT_ENDFILL' #define HORIZ_GAUGE_LEFT_ENDFILL 219 ^~~ ol_slider.c:888:24: warning: implicit conversion from 'int' to 'char' changes value from 225 to -31 [-Wconstant-conversion] string[1 + num_add] = HORIZ_GAUGE_RIGHT_ENDFILL; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:342:49: note: expanded from macro 'HORIZ_GAUGE_RIGHT_ENDFILL' #define HORIZ_GAUGE_RIGHT_ENDFILL 225 ^~~ ol_slider.c:916:14: warning: implicit conversion from 'int' to 'char' changes value from 173 to -83 [-Wconstant-conversion] string[0] = HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:290:42: note: expanded from macro 'HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE' #define HORIZ_SLIDER_LEFT_ENDCAP_OUTLINE 173 ^~~ ol_slider.c:955:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register left_offset; ~~~~~~~~ ^ ol_slider.c:1003:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register left_offset; ~~~~~~~~ ^ ol_slider.c:1017:14: warning: implicit conversion from 'int' to 'char' changes value from 210 to -46 [-Wconstant-conversion] string[0] = VERT_GAUGE_TOPENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:327:35: note: expanded from macro 'VERT_GAUGE_TOPENDCAP' #define VERT_GAUGE_TOPENDCAP 210 ^~~ ol_slider.c:1034:14: warning: implicit conversion from 'int' to 'char' changes value from 211 to -45 [-Wconstant-conversion] string[0] = VERT_GAUGE_BOTENDCAP; ~ ^~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:328:35: note: expanded from macro 'VERT_GAUGE_BOTENDCAP' #define VERT_GAUGE_BOTENDCAP 211 ^~~ ol_slider.c:1047:14: warning: implicit conversion from 'int' to 'char' changes value from 226 to -30 [-Wconstant-conversion] string[0] = VERT_GAUGE_TOP_FILL; ~ ^~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:343:49: note: expanded from macro 'VERT_GAUGE_TOP_FILL' #define VERT_GAUGE_TOP_FILL 226 ^~~ ol_slider.c:1050:14: warning: implicit conversion from 'int' to 'char' changes value from 227 to -29 [-Wconstant-conversion] string[0] = VERT_GAUGE_BOT_FILL; ~ ^~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:344:49: note: expanded from macro 'VERT_GAUGE_BOT_FILL' #define VERT_GAUGE_BOT_FILL 227 ^~~ ol_slider.c:1059:14: warning: implicit conversion from 'int' to 'char' changes value from 129 to -127 [-Wconstant-conversion] string[0] = VERT_GAUGE_UL; ~ ^~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:246:26: note: expanded from macro 'VERT_GAUGE_UL' #define VERT_GAUGE_UL 129 ^~~ ol_slider.c:1062:14: warning: implicit conversion from 'int' to 'char' changes value from 131 to -125 [-Wconstant-conversion] string[0] = VERT_GAUGE_LL; ~ ^~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:248:26: note: expanded from macro 'VERT_GAUGE_LL' #define VERT_GAUGE_LL 131 ^~~ ol_slider.c:1066:14: warning: implicit conversion from 'int' to 'char' changes value from 130 to -126 [-Wconstant-conversion] string[0] = VERT_GAUGE_UR; ~ ^~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:247:26: note: expanded from macro 'VERT_GAUGE_UR' #define VERT_GAUGE_UR 130 ^~~ ol_slider.c:1069:14: warning: implicit conversion from 'int' to 'char' changes value from 132 to -124 [-Wconstant-conversion] string[0] = VERT_GAUGE_LR; ~ ^~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:249:26: note: expanded from macro 'VERT_GAUGE_LR' #define VERT_GAUGE_LR 132 ^~~ ol_slider.c:1103:17: warning: implicit conversion from 'int' to 'char' changes value from 181 to -75 [-Wconstant-conversion] string[0] = VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE; ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../build/include/olgx/olgx.h:298:43: note: expanded from macro 'VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE' #define VERT_SLIDER_BOTTOM_ENDCAP_OUTLINE 181 ^~~ ol_slider.c:1132:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register left_offset; ~~~~~~~~ ^ 29 warnings generated. cp ol_slider.o shared/ol_slider.o + cp shared/ol_button.o ./xshared + cp shared/ol_button.o . + cp shared/ol_color.o ./xshared + cp shared/ol_color.o . + cp shared/ol_draw.o ./xshared + cp shared/ol_draw.o . + cp shared/ol_init.o ./xshared + cp shared/ol_init.o . + cp shared/ol_misc.o ./xshared + cp shared/ol_misc.o . + cp shared/ol_sb.o ./xshared + cp shared/ol_sb.o . + cp shared/ol_slider.o ./xshared + cp shared/ol_slider.o . rm -f libolgx.so.3.2~ ./xshared/libolgx.so.xs.o (cd ./xshared; clang -o ../libolgx.so.3.2~ -shared -rpath /usr/pkg/lib ?*.o) || exit $? rm -f libolgx.so.3.2 mv -f libolgx.so.3.2~ libolgx.so.3.2 ar ruv ./libolgx.a ol_button.o ol_color.o ol_draw.o ol_init.o ol_misc.o ol_sb.o ol_slider.o ar: warning: creating ./libolgx.a a - ol_button.o a - ol_color.o a - ol_draw.o a - ol_init.o a - ol_misc.o a - ol_sb.o a - ol_slider.o making all in lib/libxview... making all in lib/libxview/attr... rm -f attr.o shared/attr.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB attr.c In file included from attr.c:14: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from attr.c:17: ../../../build/include/xview_private/attr_impl.h:48:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _attr_impl_h_already_included ^ // attr.c:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // attr.c:34:46: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Attr_attribute' (aka 'unsigned long') [-Wint-conversion] return( copy_va_to_av( valist, listhead, NULL )); ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview_private/portable.h:26:97: note: passing argument to parameter 'attr1' here EXTERN_FUNCTION (Attr_avlist copy_va_to_av, (va_list valist, Attr_avlist avlist, Attr_attribute attr1)); ^ attr.c:53:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (found = (attr_value == attr)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ attr.c:53:16: note: place parentheses around the assignment to silence this warning if (found = (attr_value == attr)) ^ ( ) attr.c:53:16: note: use '==' to turn this assignment into an equality comparison if (found = (attr_value == attr)) ^ == attr.c:59:42: warning: format specifies type 'unsigned int' but the argument has type 'Attr_attribute' (aka 'unsigned long') [-Wformat] sprintf(attr_name_buf, "attr # 0x%08x", attr); ~~~~ ^~~~ %08lx attr.c:109:20: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:124:26: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:147:36: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:161:32: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:181:32: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:192:32: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:206:33: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:234:36: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ attr.c:261:12: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] *avlist = NULL; ^ ~~~~ attr.c:293:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr.c:293:17: note: place parentheses around the assignment to silence this warning while (attr = (Attr_attribute) avlist_get(avlist)) { ^ ( ) attr.c:293:17: note: use '==' to turn this assignment into an equality comparison while (attr = (Attr_attribute) avlist_get(avlist)) { ^ == attr.c:398:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (attr = (Attr_attribute) * avlist++) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr.c:398:17: note: place parentheses around the assignment to silence this warning while (attr = (Attr_attribute) * avlist++) { ^ ( ) attr.c:398:17: note: use '==' to turn this assignment into an equality comparison while (attr = (Attr_attribute) * avlist++) { ^ == attr.c:497:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (attr = (Attr_attribute) * avlist++) ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr.c:497:18: note: place parentheses around the assignment to silence this warning while (attr = (Attr_attribute) * avlist++) ^ ( ) attr.c:497:18: note: use '==' to turn this assignment into an equality comparison while (attr = (Attr_attribute) * avlist++) ^ == 19 warnings generated. cp attr.o shared/attr.o rm -f attr_copy.o shared/attr_copy.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB attr_copy.c cp attr_copy.o shared/attr_copy.o rm -f attr_cu.o shared/attr_cu.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB attr_cu.c In file included from attr_cu.c:14: In file included from ../../../build/include/xview/font.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ attr_cu.c:35:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ attr_cu.c:208:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (attr = (Attr_attribute) * avlist++) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr_cu.c:208:17: note: place parentheses around the assignment to silence this warning while (attr = (Attr_attribute) * avlist++) { ^ ( ) attr_cu.c:208:17: note: use '==' to turn this assignment into an equality comparison while (attr = (Attr_attribute) * avlist++) { ^ == 4 warnings generated. cp attr_cu.o shared/attr_cu.o rm -f attr_cust.o shared/attr_cust.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB attr_cust.c In file included from attr_cust.c:16: ../../../build/include/xview_private/attr_impl.h:48:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _attr_impl_h_already_included ^ // In file included from attr_cust.c:17: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from attr_cust.c:20: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from attr_cust.c:20: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from attr_cust.c:20: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from attr_cust.c:20: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // attr_cust.c:260:34: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] server = attr_get_server(owner, NULL); ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ attr_cust.c:303:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr_cust.c:303:17: note: place parentheses around the assignment to silence this warning while (attr = (Attr_attribute) avlist_get(avlist)) { ^ ( ) attr_cust.c:303:17: note: use '==' to turn this assignment into an equality comparison while (attr = (Attr_attribute) avlist_get(avlist)) { ^ == attr_cust.c:421:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (attr = (Attr_attribute) avlist_get(avlist)) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr_cust.c:421:17: note: place parentheses around the assignment to silence this warning while (attr = (Attr_attribute) avlist_get(avlist)) { ^ ( ) attr_cust.c:421:17: note: use '==' to turn this assignment into an equality comparison while (attr = (Attr_attribute) avlist_get(avlist)) { ^ == 21 warnings generated. cp attr_cust.o shared/attr_cust.o rm -f attr_util.o shared/attr_util.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB attr_util.c cp attr_util.o shared/attr_util.o + cp shared/attr.o ../../libxview/xshared + cp shared/attr.o . + cp shared/attr_copy.o ../../libxview/xshared + cp shared/attr_copy.o . + cp shared/attr_cu.o ../../libxview/xshared + cp shared/attr_cu.o . + cp shared/attr_cust.o ../../libxview/xshared + cp shared/attr_cust.o . + cp shared/attr_util.o ../../libxview/xshared + cp shared/attr_util.o . ar ruv ../../libxview/libxview.a attr.o attr_copy.o attr_cu.o attr_cust.o attr_util.o ar: warning: creating ../../libxview/libxview.a a - attr.o a - attr_copy.o a - attr_cu.o a - attr_cust.o a - attr_util.o making all in lib/libxview/base... rm -f xv.o shared/xv.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv.c In file included from xv.c:19: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ xv.c:60:13: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if( ptr = calloc( num, size )) ~~~~^~~~~~~~~~~~~~~~~~~~~ xv.c:71:12: note: place parentheses around the assignment to silence this warning if( ptr = calloc( num, size )) ^ ( ) xv.c:71:12: note: use '==' to turn this assignment into an equality comparison if( ptr = calloc( num, size )) ^ == xv.c:75:16: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif XV_OBJECT_SEAL ^ // xv.c:241:21: warning: incompatible pointer to integer conversion initializing 'Xv_object' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] Xv_object object = NULL; ^ ~~~~ xv.c:270:10: warning: implicit declaration of function 'xv_connection_error' is invalid in C99 [-Wimplicit-function-declaration] (void) xv_connection_error((char *)NULL); ^ xv.c:341:10: warning: implicit declaration of function 'xv_connection_error' is invalid in C99 [-Wimplicit-function-declaration] (void) xv_connection_error((char *)NULL); ^ xv.c:403:9: warning: incompatible pointer to integer conversion assigning to 'Xv_object' (aka 'unsigned long') from 'void *' [-Wint-conversion] object = NULL; ^ ~~~~ xv.c:431:14: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] return (NULL); ^~~~~~ xv.c:455:16: warning: comparison between pointer and integer ('Xv_opaque' (aka 'unsigned long') and 'void *') if (object == NULL) { ~~~~~~ ^ ~~~~ xv.c:456:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:510:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_set", object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:544:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_get", object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:560:15: warning: implicit declaration of function 'generic_get' is invalid in C99 [-Wimplicit-function-declaration] result = generic_get(object, &status, (Attr_attribute) attr, args); ^ xv.c:628:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_get", object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:767:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] XV_OBJECT_TO_STANDARD(passed_object, "xv_destroy_status", object); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ xv.c:830:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 19 warnings generated. cp xv.o shared/xv.o rm -f xv_init.o shared/xv_init.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_init.c In file included from xv_init.c:18: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from xv_init.c:22: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // xv_init.c:54:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Xv_private_data extern notify_exclude_fd; ~~~~~~ ^ xv_init.c:135:24: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] attrs_start[0] = NULL; ^ ~~~~ xv_init.c:248:21: warning: implicit declaration of function 'xv_parse_cmdline' is invalid in C99 [-Wimplicit-function-declaration] parse_result = xv_parse_cmdline(xv_app_name, &argc, argv, FALSE); ^ xv_init.c:276:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_LC_BASIC_LOCALE: ^ xv_init.c:277:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_LC_DISPLAY_LANG: ^ xv_init.c:278:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_LC_INPUT_LANG: ^ xv_init.c:279:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_LC_NUMERIC: ^ xv_init.c:280:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_LC_TIME_FORMAT: ^ xv_init.c:281:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_LOCALE_DIR: ^ xv_init.c:234:9: warning: case value not in enumerated type 'Xv_attr' [-Wswitch] case XV_USE_LOCALE: ^ xv_init.c:300:10: warning: implicit declaration of function 'xv_has_been_initialized' is invalid in C99 [-Wimplicit-function-declaration] if (!xv_has_been_initialized()) { ^ xv_init.c:350:5: warning: implicit declaration of function 'xv_add_custom_attrs' is invalid in C99 [-Wimplicit-function-declaration] xv_add_custom_attrs(WINDOW, ^ xv_init.c:494:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 42 warnings generated. cp xv_init.o shared/xv_init.o rm -f xv_init_x.o shared/xv_init_x.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_init_x.c In file included from xv_init_x.c:13: ../../../build/include/xview_private/xv_debug.h:17:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/xv_debug.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from xv_init_x.c:13: In file included from ../../../build/include/xview_private/xv_debug.h:23: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from xv_init_x.c:13: ../../../build/include/xview_private/xv_debug.h:96:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else _XV_DEBUG ^ // ../../../build/include/xview_private/xv_debug.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _XV_DEBUG ^ // ../../../build/include/xview_private/xv_debug.h:107:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_debug_h_already_included ^ // xv_init_x.c:89:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 8 warnings generated. cp xv_init_x.o shared/xv_init_x.o rm -f generic.o shared/generic.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB generic.c In file included from generic.c:17: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from generic.c:19: ../../../build/include/xview_private/gen_impl.h:42:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _gen_impl_h_already_included ^ // generic.c:145:22: warning: incompatible pointer to integer conversion initializing 'Xv_opaque' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] Xv_opaque parent_quarks = NULL, quarks; ^ ~~~~ generic.c:152:16: warning: comparison between pointer and integer ('Xv_object' (aka 'unsigned long') and 'void *') if (parent != NULL) ~~~~~~ ^ ~~~~ generic.c:156:18: warning: implicit declaration of function 'db_qlist_from_name' is invalid in C99 [-Wimplicit-function-declaration] parent_quarks = db_qlist_from_name(xv_instance_app_name, NULL); ^ generic.c:159:14: warning: implicit declaration of function 'db_qlist_from_name' is invalid in C99 [-Wimplicit-function-declaration] quarks = db_qlist_from_name(instance_name, parent_quarks); ^ generic.c:161:49: warning: comparison between pointer and integer ('Xv_opaque' (aka 'unsigned long') and 'void *') if ((null_parent == TRUE) && (parent_quarks != NULL)) ~~~~~~~~~~~~~ ^ ~~~~ generic.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] generic_set_instance_name(parent, object, instance_name) ^ generic.c:177:16: warning: comparison between pointer and integer ('Xv_opaque' (aka 'unsigned long') and 'void *') if (quarks != NULL) ~~~~~~ ^ ~~~~ generic.c:179:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ generic.c:191:24: warning: incompatible pointer to integer conversion initializing 'Xv_opaque' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] register Xv_opaque error_code = NULL; ^ ~~~~ generic.c:284:11: warning: 51 enumeration values not handled in switch: 'XV_KEY_DATA', 'XV_REF_COUNT', 'XV_TYPE'... [-Wswitch] switch ((Xv_generic_attr) (*avlist)) { ^ generic.c:329:9: warning: case value not in enumerated type 'Xv_generic_attr' [-Wswitch] case ATTR_NOP0: ^ generic.c:330:9: warning: case value not in enumerated type 'Xv_generic_attr' [-Wswitch] case ATTR_NOP1: ^ generic.c:331:9: warning: case value not in enumerated type 'Xv_generic_attr' [-Wswitch] case ATTR_NOP2: ^ generic.c:332:9: warning: case value not in enumerated type 'Xv_generic_attr' [-Wswitch] case ATTR_NOP3: ^ generic.c:333:9: warning: case value not in enumerated type 'Xv_generic_attr' [-Wswitch] case ATTR_NOP4: ^ generic.c:432:12: warning: implicit declaration of function 'db_name_from_qlist' is invalid in C99 [-Wimplicit-function-declaration] (char *)db_name_from_qlist(generic->instance_qlist); ^ generic.c:432:4: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *)db_name_from_qlist(generic->instance_qlist); ^ generic.c:456:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // generic.c:484:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (node = HEAD(object)) { ~~~~~^~~~~~~~~~~~~~ generic.c:484:14: note: place parentheses around the assignment to silence this warning while (node = HEAD(object)) { ^ ( ) generic.c:484:14: note: use '==' to turn this assignment into an equality comparison while (node = HEAD(object)) { ^ == 22 warnings generated. cp generic.o shared/generic.o rm -f drawable.o shared/drawable.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB drawable.c In file included from drawable.c:13: In file included from ../../../build/include/xview_private/draw_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ drawable.c:61:12: warning: case value not in enumerated type 'Drawable_attr' [-Wswitch] case XV_XID: ^ ../../../build/include/xview/generic.h:64:18: note: expanded from macro 'XV_XID' #define XV_XID XV_DEVICE_NUMBER ^ drawable.c:65:12: warning: case value not in enumerated type 'Drawable_attr' [-Wswitch] case XV_DISPLAY: ^ drawable.c:82:18: warning: implicit declaration of function 'window_private_gc' is invalid in C99 [-Wimplicit-function-declaration] return ((GC) window_private_gc(d)); ^ drawable.c:82:13: warning: cast to 'GC' (aka 'struct _XGC *') from smaller integer type 'int' [-Wint-to-pointer-cast] return ((GC) window_private_gc(d)); ^ 6 warnings generated. cp drawable.o shared/drawable.o rm -f xv_debug.o shared/xv_debug.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_debug.c In file included from xv_debug.c:14: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from xv_debug.c:17: ../../../build/include/xview_private/xv_debug.h:17:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/xv_debug.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // ../../../build/include/xview_private/xv_debug.h:96:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else _XV_DEBUG ^ // ../../../build/include/xview_private/xv_debug.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _XV_DEBUG ^ // ../../../build/include/xview_private/xv_debug.h:107:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_debug_h_already_included ^ // xv_debug.c:147:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _xview_dprintf() ^ xv_debug.c:149:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 9 warnings generated. cp xv_debug.o shared/xv_debug.o rm -f xv_parse.o shared/xv_parse.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_parse.c In file included from xv_parse.c:22: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from xv_parse.c:27: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from xv_parse.c:27: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // xv_parse.c:32:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // xv_parse.c:259:15: warning: implicit declaration of function 'xv_parse_one' is invalid in C99 [-Wimplicit-function-declaration] switch ((n = xv_parse_one(app_name, argc, argv))) { ^ xv_parse.c:319:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 21 warnings generated. cp xv_parse.o shared/xv_parse.o rm -f xv_list.o shared/xv_list.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_list.c In file included from xv_list.c:13: In file included from ../../../build/include/xview_private/xv_list.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from xv_list.c:13: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // 3 warnings generated. cp xv_list.o shared/xv_list.o rm -f xv_error.o shared/xv_error.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_error.c In file included from xv_error.c:15: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. cp xv_error.o shared/xv_error.o + cp shared/xv.o ../../libxview/xshared + cp shared/xv.o . + cp shared/xv_init.o ../../libxview/xshared + cp shared/xv_init.o . + cp shared/xv_init_x.o ../../libxview/xshared + cp shared/xv_init_x.o . + cp shared/generic.o ../../libxview/xshared + cp shared/generic.o . + cp shared/drawable.o ../../libxview/xshared + cp shared/drawable.o . + cp shared/xv_debug.o ../../libxview/xshared + cp shared/xv_debug.o . + cp shared/xv_parse.o ../../libxview/xshared + cp shared/xv_parse.o . + cp shared/xv_list.o ../../libxview/xshared + cp shared/xv_list.o . + cp shared/xv_error.o ../../libxview/xshared + cp shared/xv_error.o . rm -f base_data.o shared/base_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB base_data.c In file included from base_data.c:6: In file included from ../../../build/include/xview_private/draw_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. cp base_data.o shared/base_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB base_data.c In file included from base_data.c:6: In file included from ../../../build/include/xview_private/draw_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. rm -f xv_usage.o shared/xv_usage.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_usage.c In file included from xv_usage.c:14: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ xv_usage.c:39:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-WP\t(-icon_position)\tx y\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:39:5: note: treat the string as an argument to avoid this XV_MSG("-WP\t(-icon_position)\tx y\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:49:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-Wf\t(-foreground_color)\tred green blue\t0-255 (no color-full color)\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:49:5: note: treat the string as an argument to avoid this XV_MSG("-Wf\t(-foreground_color)\tred green blue\t0-255 (no color-full color)\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:57:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-WI\t(-icon_image)\t\tfilename\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:57:5: note: treat the string as an argument to avoid this XV_MSG("-WI\t(-icon_image)\t\tfilename\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:68:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-Wfsdb\t(-fullscreendebug)\t\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:68:5: note: treat the string as an argument to avoid this XV_MSG("-Wfsdb\t(-fullscreendebug)\t\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:75:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-WS\t(-defeateventsecurity)\t\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:75:5: note: treat the string as an argument to avoid this XV_MSG("-WS\t(-defeateventsecurity)\t\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:82:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-name\t\t\t\tstring\t(Set application instance name to string)\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:82:5: note: treat the string as an argument to avoid this XV_MSG("-name\t\t\t\tstring\t(Set application instance name to string)\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:90:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-preedit_style\t\t\tonTheSpot | overTheSpot | rootWindow | none\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:90:5: note: treat the string as an argument to avoid this XV_MSG("-preedit_style\t\t\tonTheSpot | overTheSpot | rootWindow | none\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ 9 warnings generated. cp xv_usage.o shared/xv_usage.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_usage.c In file included from xv_usage.c:14: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ xv_usage.c:39:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-WP\t(-icon_position)\tx y\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:39:5: note: treat the string as an argument to avoid this XV_MSG("-WP\t(-icon_position)\tx y\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:49:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-Wf\t(-foreground_color)\tred green blue\t0-255 (no color-full color)\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:49:5: note: treat the string as an argument to avoid this XV_MSG("-Wf\t(-foreground_color)\tred green blue\t0-255 (no color-full color)\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:57:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-WI\t(-icon_image)\t\tfilename\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:57:5: note: treat the string as an argument to avoid this XV_MSG("-WI\t(-icon_image)\t\tfilename\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:68:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-Wfsdb\t(-fullscreendebug)\t\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:68:5: note: treat the string as an argument to avoid this XV_MSG("-Wfsdb\t(-fullscreendebug)\t\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:75:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-WS\t(-defeateventsecurity)\t\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:75:5: note: treat the string as an argument to avoid this XV_MSG("-WS\t(-defeateventsecurity)\t\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:82:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-name\t\t\t\tstring\t(Set application instance name to string)\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:82:5: note: treat the string as an argument to avoid this XV_MSG("-name\t\t\t\tstring\t(Set application instance name to string)\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ xv_usage.c:90:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("-preedit_style\t\t\tonTheSpot | overTheSpot | rootWindow | none\n\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ xv_usage.c:90:5: note: treat the string as an argument to avoid this XV_MSG("-preedit_style\t\t\tonTheSpot | overTheSpot | rootWindow | none\n\ ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ 9 warnings generated. + cp ./base_data.o ../../libxview/xunshared + cp shared/base_data.o ../../libxview/xshared + cp ./xv_usage.o ../../libxview/xunshared + cp shared/xv_usage.o ../../libxview/xshared ar ruv ../../libxview/libxview.a xv.o xv_init.o xv_init_x.o generic.o drawable.o xv_debug.o xv_parse.o xv_list.o xv_error.o base_data.o xv_usage.o a - xv.o a - xv_init.o a - xv_init_x.o a - generic.o a - drawable.o a - xv_debug.o a - xv_parse.o a - xv_list.o a - xv_error.o a - base_data.o a - xv_usage.o making all in lib/libxview/canvas... rm -f canvas.o shared/canvas.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB canvas.c In file included from canvas.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from canvas.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from canvas.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from canvas.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from canvas.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from canvas.c:14: ../../../build/include/xview_private/win_keymap.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif win_keymap_DEFINED ^ // 18 warnings generated. cp canvas.o shared/canvas.o rm -f cnvs_set.o shared/cnvs_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_set.c In file included from cnvs_set.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_set.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_set.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_set.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_set.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // cnvs_set.c:34:21: warning: incompatible pointer to integer conversion initializing 'Scrollbar' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] Scrollbar vsb = NULL, hsb = NULL; ^ ~~~~ cnvs_set.c:34:33: warning: incompatible pointer to integer conversion initializing 'Scrollbar' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] Scrollbar vsb = NULL, hsb = NULL; ^ ~~~~ cnvs_set.c:87:6: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:101:8: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:143:6: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:183:6: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:185:3: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(paint_window, pw_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cnvs_set.c:189:13: warning: implicit declaration of function 'win_set_kbd_focus' is invalid in C99 [-Wimplicit-function-declaration] (void)win_set_kbd_focus(paint_window, xv_xid(pw_info)); ^ cnvs_set.c:198:3: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:214:4: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(canvas_public, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cnvs_set.c:218:4: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') OPENWIN_EACH_VIEW(canvas_public, view_public) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/openwin.h:56:83: note: expanded from macro 'OPENWIN_EACH_VIEW' while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:220:14: warning: implicit declaration of function 'window_set_cms' is invalid in C99 [-Wimplicit-function-declaration] (void)window_set_cms(view_public, cms, cms_bg, cms_fg); ^ cnvs_set.c:242:3: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:294:5: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(CANVAS_PUBLIC(canvas), paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_set.c:308:46: warning: implicit declaration of function 'attr_copy_avlist' is invalid in C99 [-Wimplicit-function-declaration] canvas->paint_end_avlist = (Attr_avlist) attr_copy_avlist(canvas->paint_end_avlist, argv); ^ cnvs_set.c:308:32: warning: cast to 'Attr_avlist' (aka 'unsigned long *') from smaller integer type 'int' [-Wint-to-pointer-cast] canvas->paint_end_avlist = (Attr_avlist) attr_copy_avlist(canvas->paint_end_avlist, argv); ^ 33 warnings generated. cp cnvs_set.o shared/cnvs_set.o rm -f cnvs_get.o shared/cnvs_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_get.c In file included from cnvs_get.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_get.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_get.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_get.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_get.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // cnvs_get.c:31:18: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (view_public != NULL) { ~~~~~~~~~~~ ^ ~~~~ cnvs_get.c:68:19: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (paint_window != NULL) { ~~~~~~~~~~~~ ^ ~~~~ 19 warnings generated. cp cnvs_get.o shared/cnvs_get.o rm -f cnvs_scrol.o shared/cnvs_scrol.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_scrol.c In file included from cnvs_scrol.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_scrol.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_scrol.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_scrol.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_scrol.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // cnvs_scrol.c:54:5: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') OPENWIN_EACH_VIEW(canvas_public, view) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/openwin.h:56:83: note: expanded from macro 'OPENWIN_EACH_VIEW' while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 18 warnings generated. cp cnvs_scrol.o shared/cnvs_scrol.o rm -f cnvs_resze.o shared/cnvs_resze.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_resze.c In file included from cnvs_resze.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_resze.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_resze.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_resze.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_resze.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // cnvs_resze.c:83:5: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') CANVAS_EACH_PAINT_WINDOW(canvas_public, paint_window) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/canvas.h:48:85: note: expanded from macro 'CANVAS_EACH_PAINT_WINDOW' while (((pw) = (Xv_Window) xv_get((canvas), CANVAS_NTH_PAINT_WINDOW, _pw_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_resze.c:130:5: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') OPENWIN_EACH_VIEW(CANVAS_PUBLIC(canvas), view) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/openwin.h:56:83: note: expanded from macro 'OPENWIN_EACH_VIEW' while (((view) = (Xv_Window) xv_get((openwin), OPENWIN_NTH_VIEW, _view_cnt++)) != NULL) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 19 warnings generated. cp cnvs_resze.o shared/cnvs_resze.o rm -f cnvs_view.o shared/cnvs_view.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_view.c In file included from cnvs_view.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_view.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_view.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_view.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_view.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from cnvs_view.c:14: ../../../build/include/xview_private/win_keymap.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif win_keymap_DEFINED ^ // cnvs_view.c:29:17: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static canvas_view_create_paint_window(); ~~~~~~ ^ cnvs_view.c:171:21: warning: implicit declaration of function 'win_set_damage' is invalid in C99 [-Wimplicit-function-declaration] win_set_damage(paint_public, &rl); ^ cnvs_view.c:172:21: warning: implicit declaration of function 'canvas_inform_repaint' is invalid in C99 [-Wimplicit-function-declaration] canvas_inform_repaint(canvas, paint_public); ^ cnvs_view.c:173:21: warning: implicit declaration of function 'win_clear_damage' is invalid in C99 [-Wimplicit-function-declaration] win_clear_damage(paint_public); ^ cnvs_view.c:441:28: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (view->paint_window == NULL) { ~~~~~~~~~~~~~~~~~~ ^ ~~~~ cnvs_view.c:452:18: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (split_paint != NULL) { ~~~~~~~~~~~ ^ ~~~~ cnvs_view.c:503:13: warning: comparison between pointer and integer ('Scrollbar' (aka 'unsigned long') and 'void *') if (sb != NULL) { ~~ ^ ~~~~ cnvs_view.c:508:13: warning: comparison between pointer and integer ('Scrollbar' (aka 'unsigned long') and 'void *') if (sb != NULL) { ~~ ^ ~~~~ 26 warnings generated. cp cnvs_view.o shared/cnvs_view.o rm -f cnvs_input.o shared/cnvs_input.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_input.c In file included from cnvs_input.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_input.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_input.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_input.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_input.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // cnvs_input.c:135:2: warning: implicit declaration of function 'canvas_inform_repaint' is invalid in C99 [-Wimplicit-function-declaration] canvas_inform_repaint(canvas, window_public); ^ cnvs_input.c:164:7: warning: implicit declaration of function 'xv_help_show' is invalid in C99 [-Wimplicit-function-declaration] xv_help_show(window_public, help_data, event); ^ cnvs_input.c:172:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnvs_input.c:172:11: note: place parentheses around the assignment to silence this warning nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^ ( cnvs_input.c:172:11: note: use '==' to turn this assignment into an equality comparison nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^ == cnvs_input.c:192:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnvs_input.c:192:11: note: place parentheses around the assignment to silence this warning nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^ ( cnvs_input.c:192:11: note: use '==' to turn this assignment into an equality comparison nth_pw = xv_get(canvas_public, CANVAS_NTH_PAINT_WINDOW, ^ == cnvs_input.c:221:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] nth_view = xv_get(canvas_public, OPENWIN_NTH_VIEW, view_nbr); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnvs_input.c:221:13: note: place parentheses around the assignment to silence this warning nth_view = xv_get(canvas_public, OPENWIN_NTH_VIEW, view_nbr); ^ ( ) cnvs_input.c:221:13: note: use '==' to turn this assignment into an equality comparison nth_view = xv_get(canvas_public, OPENWIN_NTH_VIEW, view_nbr); ^ == cnvs_input.c:275:6: warning: incompatible pointer to integer conversion assigning to 'Xv_object' (aka 'unsigned long') from 'void *' [-Wint-conversion] event_init(&sb_event); ^~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/win_input.h:416:20: note: expanded from macro 'event_init' (ie)->ie_win = NULL, \ ^ ~~~~ cnvs_input.c:279:6: warning: implicit declaration of function 'win_post_event' is invalid in C99 [-Wimplicit-function-declaration] win_post_event(sb, &sb_event, NOTIFY_SAFE); ^ cnvs_input.c:365:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] canvas_inform_repaint(canvas, paint_window) ^ cnvs_input.c:394:18: warning: implicit declaration of function 'win_convert_to_x_rectlist' is invalid in C99 [-Wimplicit-function-declaration] xrects.count = win_convert_to_x_rectlist(&damage, ^ cnvs_input.c:406:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cnvs_input.c:426:22: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (paint_window == NULL) { ~~~~~~~~~~~~ ^ ~~~~ cnvs_input.c:456:22: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (paint_window == NULL) { ~~~~~~~~~~~~ ^ ~~~~ cnvs_input.c:485:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cnvs_input.c:492:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gc_values.stipple = xv_get(window, WIN_BACKGROUND_PIXMAP)) { ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cnvs_input.c:492:27: note: place parentheses around the assignment to silence this warning if (gc_values.stipple = xv_get(window, WIN_BACKGROUND_PIXMAP)) { ^ ( ) cnvs_input.c:492:27: note: use '==' to turn this assignment into an equality comparison if (gc_values.stipple = xv_get(window, WIN_BACKGROUND_PIXMAP)) { ^ == 31 warnings generated. cp cnvs_input.o shared/cnvs_input.o + cp shared/canvas.o ../../libxview/xshared + cp shared/canvas.o . + cp shared/cnvs_set.o ../../libxview/xshared + cp shared/cnvs_set.o . + cp shared/cnvs_get.o ../../libxview/xshared + cp shared/cnvs_get.o . + cp shared/cnvs_scrol.o ../../libxview/xshared + cp shared/cnvs_scrol.o . + cp shared/cnvs_resze.o ../../libxview/xshared + cp shared/cnvs_resze.o . + cp shared/cnvs_view.o ../../libxview/xshared + cp shared/cnvs_view.o . + cp shared/cnvs_input.o ../../libxview/xshared + cp shared/cnvs_input.o . rm -f cnvs_data.o shared/cnvs_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_data.c In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 17 warnings generated. cp cnvs_data.o shared/cnvs_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cnvs_data.c In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:8: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from cnvs_data.c:13: In file included from ../../../build/include/xview_private/cnvs_impl.h:10: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 17 warnings generated. + cp ./cnvs_data.o ../../libxview/xunshared + cp shared/cnvs_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a canvas.o cnvs_set.o cnvs_get.o cnvs_scrol.o cnvs_resze.o cnvs_view.o cnvs_input.o cnvs_data.o a - canvas.o a - cnvs_set.o a - cnvs_get.o a - cnvs_scrol.o a - cnvs_resze.o a - cnvs_view.o a - cnvs_input.o a - cnvs_data.o making all in lib/libxview/color... rm -f cms.o shared/cms.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cms.c In file included from cms.c:10: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ cms.c:77:24: warning: format specifies type 'unsigned int' but the argument has type 'Cms_info *' (aka 'struct cms_info *') [-Wformat] sprintf(buf, "%x", cms); ~~ ^~~ cms.c:223:15: warning: implicit declaration of function 'cms_alloc_static_colors' is invalid in C99 [-Wimplicit-function-declaration] status = cms_alloc_static_colors(display, cms, cmap, xcolors, ^ cms.c:249:19: warning: implicit declaration of function 'cms_alloc_static_colors' is invalid in C99 [-Wimplicit-function-declaration] status = cms_alloc_static_colors(display, cms, cmap, xcolors, ^ cms.c:257:11: warning: implicit declaration of function 'cms_alloc_static_colors' is invalid in C99 [-Wimplicit-function-declaration] status = cms_alloc_static_colors(display, cms, cms->cmap, ^ cms.c:370:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 7 warnings generated. cp cms.o shared/cms.o rm -f cms_pblc.o shared/cms_pblc.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cms_pblc.c In file included from cms_pblc.c:7: In file included from ../../../build/include/xview/cms.h:19: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ cms_pblc.c:114:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cms_pblc.c:186:12: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cms_pblc.c:240:13: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cms_pblc.c:261:13: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cms_pblc.c:401:7: warning: implicit declaration of function 'cms_get_colors' is invalid in C99 [-Wimplicit-function-declaration] if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ cms_pblc.c:401:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ cms_pblc.c:401:6: note: add parentheses after the '!' to evaluate the comparison first if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ ( cms_pblc.c:401:6: note: add parentheses around left hand side expression to silence this warning if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ ( cms_pblc.c:405:12: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] value = NULL; ^ ~~~~ cms_pblc.c:411:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ cms_pblc.c:411:6: note: add parentheses after the '!' to evaluate the comparison first if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ ( cms_pblc.c:411:6: note: add parentheses around left hand side expression to silence this warning if (!cms_get_colors(cms, (unsigned long)0, cms->size, ^ ( cms_pblc.c:415:12: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] value = NULL; ^ ~~~~ cms_pblc.c:362:12: warning: case value not in enumerated type 'Cms_attribute' [-Wswitch] case CMS_NAME: ^ ../../../build/include/xview/cms.h:33:19: note: expanded from macro 'CMS_NAME' #define CMS_NAME XV_NAME ^ cms_pblc.c:394:12: warning: case value not in enumerated type 'Cms_attribute' [-Wswitch] case XV_XID: /* public */ ^ ../../../build/include/xview/generic.h:64:18: note: expanded from macro 'XV_XID' #define XV_XID XV_DEVICE_NUMBER ^ cms_pblc.c:386:12: warning: case value not in enumerated type 'Cms_attribute' [-Wswitch] case XV_VISUAL_CLASS: ^ cms_pblc.c:382:12: warning: case value not in enumerated type 'Cms_attribute' [-Wswitch] case XV_VISUAL: ^ cms_pblc.c:390:12: warning: case value not in enumerated type 'Cms_attribute' [-Wswitch] case XV_DEPTH: ^ cms_pblc.c:489:11: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] return(NULL); ^~~~~~ 17 warnings generated. cp cms_pblc.o shared/cms_pblc.o + cp shared/cms.o ../../libxview/xshared + cp shared/cms.o . + cp shared/cms_pblc.o ../../libxview/xshared + cp shared/cms_pblc.o . rm -f cms_data.o shared/cms_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cms_data.c In file included from cms_data.c:13: In file included from ../../../build/include/xview_private/cms_impl.h:18: In file included from ../../../build/include/xview/screen.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. cp cms_data.o shared/cms_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cms_data.c In file included from cms_data.c:13: In file included from ../../../build/include/xview_private/cms_impl.h:18: In file included from ../../../build/include/xview/screen.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. + cp ./cms_data.o ../../libxview/xunshared + cp shared/cms_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a cms.o cms_pblc.o cms_data.o a - cms.o a - cms_pblc.o a - cms_data.o making all in lib/libxview/cursor... rm -f cursor.o shared/cursor.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cursor.c In file included from cursor.c:20: In file included from ../../../build/include/xview_private/curs_impl.h:12: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cursor.c:20: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cursor.c:20: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from cursor.c:23: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // cursor.c:138:2: warning: implicit declaration of function 'xv_rop' is invalid in C99 [-Wimplicit-function-declaration] xv_rop(cursor->cur_shape, 0, 0, pr->pr_width, pr->pr_height, PIX_SRC, ^ cursor.c:190:6: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(cursor->root, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cursor.c:388:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(cursor->root, root_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ cursor.c:455:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(window, window_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 24 warnings generated. cp cursor.o shared/cursor.o rm -f curs_pri.o shared/curs_pri.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB curs_pri.c In file included from curs_pri.c:15: In file included from ../../../build/include/xview/font.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from curs_pri.c:16: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from curs_pri.c:16: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // curs_pri.c:47:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ curs_pri.c:59:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ curs_pri.c:122:2: warning: implicit declaration of function 'xv_rop_internal' is invalid in C99 [-Wimplicit-function-declaration] xv_rop_internal(display, src, gc, 0, 0, w, h, pr, 0, 0, &info); ^ curs_pri.c:175:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ curs_pri.c:216:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 23 warnings generated. cp curs_pri.o shared/curs_pri.o rm -f cur_rodata.o shared/cur_rodata.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB cur_rodata.c In file included from cur_rodata.c:18: In file included from ../../../build/include/xview_private/curs_impl.h:12: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from cur_rodata.c:18: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from cur_rodata.c:18: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // 18 warnings generated. cp cur_rodata.o shared/cur_rodata.o rm -f curs_cmpat.o shared/curs_cmpat.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB curs_cmpat.c In file included from curs_cmpat.c:18: In file included from ../../../build/include/xview_private/curs_impl.h:12: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from curs_cmpat.c:18: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from curs_cmpat.c:18: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // curs_cmpat.c:43:19: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] avlist[0] = NULL; ^ ~~~~ 19 warnings generated. cp curs_cmpat.o shared/curs_cmpat.o + cp shared/cursor.o ../../libxview/xshared + cp shared/cursor.o . + cp shared/curs_pri.o ../../libxview/xshared + cp shared/curs_pri.o . + cp shared/cur_rodata.o ../../libxview/xshared + cp shared/cur_rodata.o . + cp shared/curs_cmpat.o ../../libxview/xshared + cp shared/curs_cmpat.o . rm -f curs_data.o shared/curs_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB curs_data.c In file included from curs_data.c:13: In file included from ../../../build/include/xview_private/curs_impl.h:12: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from curs_data.c:13: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from curs_data.c:13: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // 18 warnings generated. cp curs_data.o shared/curs_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB curs_data.c In file included from curs_data.c:13: In file included from ../../../build/include/xview_private/curs_impl.h:12: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from curs_data.c:13: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from curs_data.c:13: In file included from ../../../build/include/xview_private/curs_impl.h:13: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // 18 warnings generated. + cp ./curs_data.o ../../libxview/xunshared + cp shared/curs_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a cursor.o curs_pri.o cur_rodata.o curs_cmpat.o curs_data.o a - cursor.o a - curs_pri.o a - cur_rodata.o a - curs_cmpat.o a - curs_data.o making all in lib/libxview/defaults... rm -f defaults.o shared/defaults.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB defaults.c In file included from defaults.c:30: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ defaults.c:139:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ defaults.c:170:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ defaults.c:242:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ defaults.c:278:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 6 warnings generated. cp defaults.o shared/defaults.o + cp shared/defaults.o ../../libxview/xshared + cp shared/defaults.o . ar ruv ../../libxview/libxview.a defaults.o a - defaults.o making all in lib/libxview/dnd... rm -f dnd.o shared/dnd.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dnd.c In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from dnd.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dnd.c:19: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // In file included from dnd.c:20: In file included from ../../../build/include/xview_private/windowimpl.h:34: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // dnd.c:62:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(dnd->parent, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ dnd.c:66:9: warning: implicit declaration of function 'DndGetSelection' is invalid in C99 [-Wimplicit-function-declaration] if (DndGetSelection(dnd, dpy) == DND_SELECTION) ^ dnd.c:115:8: warning: implicit declaration of function 'xview_x_input_readevent' is invalid in C99 [-Wimplicit-function-declaration] (void)xview_x_input_readevent(dpy, &event, dnd->parent, True, True, ^ dnd.c:141:11: warning: implicit declaration of function 'DndSendPreviewEvent' is invalid in C99 [-Wimplicit-function-declaration] (void)DndSendPreviewEvent(dnd, DND_NO_SITE, ev); ^ dnd.c:166:38: warning: implicit declaration of function 'win_data' is invalid in C99 [-Wimplicit-function-declaration] status = SendTrigger(dnd, info, ev, win_data(dpy,dnd->dropSite.window)); ^ dnd.c:341:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(dnd->parent, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ dnd.c:378:19: warning: implicit declaration of function 'DndWaitForEvent' is invalid in C99 [-Wimplicit-function-declaration] if ((status = DndWaitForEvent(dpy, xv_xid(info), SelectionRequest, ^ dnd.c:412:9: warning: implicit declaration of function 'DndSendEvent' is invalid in C99 [-Wimplicit-function-declaration] if (DndSendEvent(dpy, &selNotifyEvent) != DND_SUCCEEDED) { ^ dnd.c:526:28: warning: implicit declaration of function 'win_data' is invalid in C99 [-Wimplicit-function-declaration] Xv_Window dropObject = win_data(ev->display, ^ dnd.c:551:8: warning: incompatible pointer to integer conversion assigning to 'Xv_object' (aka 'unsigned long') from 'void *' [-Wint-conversion] event_init(&event); ^~~~~~~~~~~~~~~~~~ ../../../build/include/xview/win_input.h:416:20: note: expanded from macro 'event_init' (ie)->ie_win = NULL, \ ^ ~~~~ dnd.c:574:15: warning: implicit declaration of function 'win_post_event' is invalid in C99 [-Wimplicit-function-declaration] if (win_post_event(dropObject, &event, NOTIFY_IMMEDIATE) != NOTIFY_OK) ^ dnd.c:582:29: warning: implicit declaration of function 'win_data' is invalid in C99 [-Wimplicit-function-declaration] Xv_Window eventObject = win_data(ev->display, ^ dnd.c:601:12: warning: incompatible pointer to integer conversion assigning to 'Xv_object' (aka 'unsigned long') from 'void *' [-Wint-conversion] event_init(&event); ^~~~~~~~~~~~~~~~~~ ../../../build/include/xview/win_input.h:416:20: note: expanded from macro 'event_init' (ie)->ie_win = NULL, \ ^ ~~~~ dnd.c:639:19: warning: implicit declaration of function 'win_post_event' is invalid in C99 [-Wimplicit-function-declaration] if (win_post_event(eventObject, &event, NOTIFY_IMMEDIATE) ^ dnd.c:651:12: warning: implicit declaration of function 'DndSendEvent' is invalid in C99 [-Wimplicit-function-declaration] return(DndSendEvent(ev->display, &cM)); ^ 46 warnings generated. cp dnd.o shared/dnd.o rm -f dnd_decode.o shared/dnd_decode.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dnd_decode.c In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from dnd_decode.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dnd_decode.c:20: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // In file included from dnd_decode.c:21: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // dnd_decode.c:77:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(site = (Dnd_drop_site *) (XV_SL_SAFE_NEXT(site))) { ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dnd_decode.c:77:16: note: place parentheses around the assignment to silence this warning while(site = (Dnd_drop_site *) (XV_SL_SAFE_NEXT(site))) { ^ ( ) dnd_decode.c:77:16: note: use '==' to turn this assignment into an equality comparison while(site = (Dnd_drop_site *) (XV_SL_SAFE_NEXT(site))) { ^ == dnd_decode.c:132:9: warning: implicit declaration of function 'DndWaitForEvent' is invalid in C99 [-Wimplicit-function-declaration] if (DndWaitForEvent(dpy, window, SelectionNotify, target, &timeout, ^ 33 warnings generated. cp dnd_decode.o shared/dnd_decode.o rm -f dnd_dsdm.o shared/dnd_dsdm.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dnd_dsdm.c In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from dnd_dsdm.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dnd_dsdm.c:17: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // 30 warnings generated. cp dnd_dsdm.o shared/dnd_dsdm.o rm -f dnd_pblc.o shared/dnd_pblc.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dnd_pblc.c In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from dnd_pblc.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dnd_pblc.c:17: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // dnd_pblc.c:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // dnd_pblc.c:172:14: warning: incompatible pointer to integer conversion assigning to 'Selection_requestor' (aka 'unsigned long') from 'void *' [-Wint-conversion] dnd->sel = NULL; ^ ~~~~ 32 warnings generated. cp dnd_pblc.o shared/dnd_pblc.o rm -f dndutil.o shared/dndutil.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dndutil.c In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from dndutil.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dndutil.c:18: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // dndutil.c:89:46: warning: format specifies type 'int' but the argument has type 'XID' (aka 'unsigned long') [-Wformat] sprintf(buf, SUN_DND_TRANSIENT_TEMPLATE, xid, n); ^~~ dndutil.c:94:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static (*old_handler)(); ~~~~~~ ^ dndutil.c:105:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 33 warnings generated. cp dndutil.o shared/dndutil.o rm -f site.o shared/site.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB site.c In file included from site.c:16: In file included from ../../../build/include/xview_private/xv_list.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from site.c:16: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // In file included from site.c:17: ../../../build/include/xview_private/site_impl.h:84:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_site_impl_DEFINED ^ // In file included from site.c:18: In file included from ../../../build/include/xview_private/windowimpl.h:32: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from site.c:18: In file included from ../../../build/include/xview_private/windowimpl.h:32: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // site.c:21:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // site.c:86:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ site.c:86:18: note: place parentheses around the assignment to silence this warning while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^ ( ) site.c:86:18: note: use '==' to turn this assignment into an equality comparison while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^ == site.c:107:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ site.c:107:19: note: place parentheses around the assignment to silence this warning while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^ ( ) site.c:107:19: note: use '==' to turn this assignment into an equality comparison while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^ == site.c:183:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ site.c:183:22: note: place parentheses around the assignment to silence this warning while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^ ( ) site.c:183:22: note: use '==' to turn this assignment into an equality comparison while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) { ^ == site.c:208:23: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ site.c:208:23: note: place parentheses around the assignment to silence this warning while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^ ( ) site.c:208:23: note: use '==' to turn this assignment into an equality comparison while(rectNode = (Dnd_rect_list *) (XV_SL_SAFE_NEXT(rectNode))) { ^ == site.c:255:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // site.c:311:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ site.c:311:18: note: place parentheses around the assignment to silence this warning while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) ^ ( ) site.c:311:18: note: use '==' to turn this assignment into an equality comparison while(winNode = (Dnd_window_list *) (XV_SL_SAFE_NEXT(winNode))) ^ == 27 warnings generated. cp site.o shared/site.o rm -f site_pblc.o shared/site_pblc.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB site_pblc.c In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from site_pblc.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from site_pblc.c:17: In file included from ../../../build/include/xview_private/site_impl.h:23: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // In file included from site_pblc.c:17: ../../../build/include/xview_private/site_impl.h:84:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_site_impl_DEFINED ^ // site_pblc.c:47:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WINDOW_SITES ^ // site_pblc.c:76:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WINDOW_SITES ^ // site_pblc.c:135:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WIDNOW_SITES ^ // site_pblc.c:179:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WINDOW_SITES ^ // site_pblc.c:210:11: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] value = NULL; ^ ~~~~ 36 warnings generated. cp site_pblc.o shared/site_pblc.o + cp shared/dnd.o ../../libxview/xshared + cp shared/dnd.o . + cp shared/dnd_decode.o ../../libxview/xshared + cp shared/dnd_decode.o . + cp shared/dnd_dsdm.o ../../libxview/xshared + cp shared/dnd_dsdm.o . + cp shared/dnd_pblc.o ../../libxview/xshared + cp shared/dnd_pblc.o . + cp shared/dndutil.o ../../libxview/xshared + cp shared/dndutil.o . + cp shared/site.o ../../libxview/xshared + cp shared/site.o . + cp shared/site_pblc.o ../../libxview/xshared + cp shared/site_pblc.o . rm -f dnd_data.o shared/dnd_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dnd_data.c In file included from dnd_data.c:13: In file included from ../../../build/include/xview_private/dndimpl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dnd_data.c:13: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // 3 warnings generated. cp dnd_data.o shared/dnd_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB dnd_data.c In file included from dnd_data.c:13: In file included from ../../../build/include/xview_private/dndimpl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from dnd_data.c:13: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // 3 warnings generated. rm -f site_data.o shared/site_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB site_data.c In file included from site_data.c:13: In file included from ../../../build/include/xview_private/site_impl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from site_data.c:13: In file included from ../../../build/include/xview_private/site_impl.h:23: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // In file included from site_data.c:13: ../../../build/include/xview_private/site_impl.h:84:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_site_impl_DEFINED ^ // 4 warnings generated. cp site_data.o shared/site_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB site_data.c In file included from site_data.c:13: In file included from ../../../build/include/xview_private/site_impl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from site_data.c:13: In file included from ../../../build/include/xview_private/site_impl.h:23: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // In file included from site_data.c:13: ../../../build/include/xview_private/site_impl.h:84:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_site_impl_DEFINED ^ // 4 warnings generated. + cp ./dnd_data.o ../../libxview/xunshared + cp shared/dnd_data.o ../../libxview/xshared + cp ./site_data.o ../../libxview/xunshared + cp shared/site_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a dnd.o dnd_decode.o dnd_dsdm.o dnd_pblc.o dndutil.o site.o site_pblc.o dnd_data.o site_data.o a - dnd.o a - dnd_decode.o a - dnd_dsdm.o a - dnd_pblc.o a - dndutil.o a - site.o a - site_pblc.o a - dnd_data.o a - site_data.o making all in lib/libxview/file_chooser... rm -f file_chsr.o shared/file_chsr.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB file_chsr.c In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from file_chsr.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ file_chsr.c:1579:2: warning: incompatible pointer to integer conversion assigning to 'Xv_object' (aka 'unsigned long') from 'void *' [-Wint-conversion] event_init( &event ); ^~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/win_input.h:416:20: note: expanded from macro 'event_init' (ie)->ie_win = NULL, \ ^ ~~~~ file_chsr.c:1787:26: warning: comparison between pointer and integer ('unsigned int' and 'void *') || (private->custom == NULL) ~~~~~~~~~~~~~~~ ^ ~~~~ file_chsr.c:2345:34: warning: implicit conversion from enumeration type 'File_list_op' to different enumeration type 'File_chooser_op' [-Wenum-conversion] status = (row->vals.inactive) ? FILE_LIST_IGNORE : FILE_LIST_ACCEPT; ~ ^~~~~~~~~~~~~~~~ file_chsr.c:2345:53: warning: implicit conversion from enumeration type 'File_list_op' to different enumeration type 'File_chooser_op' [-Wenum-conversion] status = (row->vals.inactive) ? FILE_LIST_IGNORE : FILE_LIST_ACCEPT; ~ ^~~~~~~~~~~~~~~~ file_chsr.c:2365:15: warning: implicit conversion from enumeration type 'File_list_op' to different enumeration type 'File_chooser_op' [-Wenum-conversion] status = FILE_LIST_IGNORE; ~ ^~~~~~~~~~~~~~~~ file_chsr.c:2448:12: warning: implicit declaration of function 'xv_strcasecmp' is invalid in C99 [-Wimplicit-function-declaration] return xv_strcasecmp(row1->xfrm, row2->xfrm); ^ file_chsr.c:2456:12: warning: implicit declaration of function 'xv_strcasecmp' is invalid in C99 [-Wimplicit-function-declaration] return xv_strcasecmp(row2->xfrm, row1->xfrm); ^ 36 warnings generated. cp file_chsr.o shared/file_chsr.o rm -f fc_layout.o shared/fc_layout.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fc_layout.c In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fc_layout.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ fc_layout.c:339:63: warning: too many arguments in call to 'fc_calc_ys_bottom_up' top_of_bottom = fc_calc_ys_bottom_up( private, exten_rect ); ~~~~~~~~~~~~~~~~~~~~ ^ 30 warnings generated. cp fc_layout.o shared/fc_layout.o rm -f file_list.o shared/file_list.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB file_list.c In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from file_list.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ file_list.c:776:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while ( entry = readdir(private->dir_ptr) ) { ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ file_list.c:776:19: note: place parentheses around the assignment to silence this warning while ( entry = readdir(private->dir_ptr) ) { ^ ( ) file_list.c:776:19: note: use '==' to turn this assignment into an equality comparison while ( entry = readdir(private->dir_ptr) ) { ^ == file_list.c:942:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ file_list.c:1098:15: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] attrs[4] = NULL; ^ ~~~~ file_list.c:1117:11: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] attrs[3] = NULL; ^ ~~~~ file_list.c:1128:11: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] attrs[2] = NULL; ^ ~~~~ file_list.c:1461:12: warning: implicit declaration of function 'xv_strcasecmp' is invalid in C99 [-Wimplicit-function-declaration] return xv_strcasecmp(row1->xfrm, row2->xfrm); ^ file_list.c:1469:12: warning: implicit declaration of function 'xv_strcasecmp' is invalid in C99 [-Wimplicit-function-declaration] return xv_strcasecmp(row2->xfrm, row1->xfrm); ^ 36 warnings generated. cp file_list.o shared/file_list.o rm -f path.o shared/path.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB path.c In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from path.c:17: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp path.o shared/path.o rm -f xv_path_util.o shared/xv_path_util.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB xv_path_util.c In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from xv_path_util.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ xv_path_util.c:81:19: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] (void) xv_error( NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 30 warnings generated. cp xv_path_util.o shared/xv_path_util.o rm -f hist_list.o shared/hist_list.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB hist_list.c In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from hist_list.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp hist_list.o shared/hist_list.o rm -f hist_menu.o shared/hist_menu.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB hist_menu.c In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from hist_menu.c:15: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ hist_menu.c:280:32: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] hist_menu_done_proc( menu, NULL ); ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 30 warnings generated. cp hist_menu.o shared/hist_menu.o rm -f fchsr_data.o shared/fchsr_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fchsr_data.c In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp fchsr_data.o shared/fchsr_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fchsr_data.c In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fchsr_data.c:19: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. rm -f flist_data.o shared/flist_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB flist_data.c In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp flist_data.o shared/flist_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB flist_data.c In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from flist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. rm -f path_data.o shared/path_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB path_data.c In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp path_data.o shared/path_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB path_data.c In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from path_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. rm -f hist_data.o shared/hist_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB hist_data.c In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp hist_data.o shared/hist_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB hist_data.c In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from hist_data.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. + cp shared/file_chsr.o ../../libxview/xshared + cp shared/file_chsr.o . + cp shared/fc_layout.o ../../libxview/xshared + cp shared/fc_layout.o . + cp shared/file_list.o ../../libxview/xshared + cp shared/file_list.o . + cp shared/path.o ../../libxview/xshared + cp shared/path.o . + cp shared/xv_path_util.o ../../libxview/xshared + cp shared/xv_path_util.o . + cp shared/hist_list.o ../../libxview/xshared + cp shared/hist_list.o . + cp shared/hist_menu.o ../../libxview/xshared + cp shared/hist_menu.o . + cp shared/fchsr_data.o ../../libxview/xshared + cp shared/fchsr_data.o . + cp shared/flist_data.o ../../libxview/xshared + cp shared/flist_data.o . + cp shared/path_data.o ../../libxview/xshared + cp shared/path_data.o . + cp shared/hist_data.o ../../libxview/xshared + cp shared/hist_data.o . + cp ./fchsr_data.o ../../libxview/xunshared + cp shared/fchsr_data.o ../../libxview/xshared + cp ./flist_data.o ../../libxview/xunshared + cp shared/flist_data.o ../../libxview/xshared + cp ./path_data.o ../../libxview/xunshared + cp shared/path_data.o ../../libxview/xshared + cp ./hist_data.o ../../libxview/xunshared + cp shared/hist_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a file_chsr.o fc_layout.o file_list.o path.o xv_path_util.o hist_list.o hist_menu.o fchsr_data.o flist_data.o path_data.o hist_data.o fchsr_data.o flist_data.o path_data.o hist_data.o a - file_chsr.o a - fc_layout.o a - file_list.o a - path.o a - xv_path_util.o a - hist_list.o a - hist_menu.o a - fchsr_data.o a - flist_data.o a - path_data.o a - hist_data.o a - fchsr_data.o a - flist_data.o a - path_data.o a - hist_data.o making all in lib/libxview/filter... rm -f filter.o shared/filter.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB filter.c In file included from filter.c:16: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from filter.c:21: ../../../build/include/xview_private/filter.h:41:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_filter_DEFINED ^ // filter.c:47:3: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] any_shell_meta(); ^ filter.c:72:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ filter.c:108:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ filter.c:160:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ filter.c:177:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ filter.c:190:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ filter.c:251:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] any_shell_meta(s) ^ 10 warnings generated. cp filter.o shared/filter.o + cp shared/filter.o ../../libxview/xshared + cp shared/filter.o . ar ruv ../../libxview/libxview.a filter.o a - filter.o making all in lib/libxview/font... rm -f font.o shared/font.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB font.c In file included from font.c:14: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from font.c:15: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from font.c:17: ../../../build/include/xview_private/xv_debug.h:17:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/xv_debug.h:22:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from font.c:17: In file included from ../../../build/include/xview_private/xv_debug.h:23: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from font.c:17: ../../../build/include/xview_private/xv_debug.h:96:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else _XV_DEBUG ^ // ../../../build/include/xview_private/xv_debug.h:105:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _XV_DEBUG ^ // ../../../build/include/xview_private/xv_debug.h:107:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_debug_h_already_included ^ // font.c:1223:3: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] XV_OBJECT_TO_STANDARD(parent_public, "font_init", real_parent_public); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:1258:9: warning: implicit declaration of function 'font_free_font_return_attr_strings' is invalid in C99 [-Wimplicit-function-declaration] font_free_font_return_attr_strings(&my_attrs); ^ font.c:1314:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:1319:13: warning: implicit declaration of function 'font_free_font_return_attr_strings' is invalid in C99 [-Wimplicit-function-declaration] font_free_font_return_attr_strings(&my_attrs); ^ font.c:1427:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (font_head = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:1427:19: note: place parentheses around the assignment to silence this warning if (font_head = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^ ( ) font.c:1427:19: note: use '==' to turn this assignment into an equality comparison if (font_head = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^ == font.c:1558:7: warning: implicit declaration of function 'xv_mem_destroy' is invalid in C99 [-Wimplicit-function-declaration] xv_mem_destroy(pfc->pc_pr); ^ font.c:2303:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:2780:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (font_list = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c:2780:19: note: place parentheses around the assignment to silence this warning if (font_list = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^ ( ) font.c:2780:19: note: use '==' to turn this assignment into an equality comparison if (font_list = (Font_info *) xv_get(server, XV_KEY_DATA, FONT_HEAD)) { ^ == font.c:2797:3: warning: implicit declaration of function 'font_free_font_return_attr_strings' is invalid in C99 [-Wimplicit-function-declaration] font_free_font_return_attr_strings(&my_attrs); ^ font.c:2804:5: warning: implicit declaration of function 'font_free_font_return_attr_strings' is invalid in C99 [-Wimplicit-function-declaration] font_free_font_return_attr_strings(&my_attrs); ^ font.c:2855:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:3136:3: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] XV_OBJECT_TO_STANDARD(pf, "font_read_attrs", font); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:3412:22: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:3435:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:3459:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // font.c:3458:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:3871:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4160:4: warning: format string is not a string literal (potentially insecure) [-Wformat-security] XV_MSG("Attempt to rescale from font failed")); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^~~~~~~~~~~~~~~~~~~~~~~ font.c:4160:4: note: treat the string as an argument to avoid this XV_MSG("Attempt to rescale from font failed")); ^ "%s", ../../../build/include/xview_private/i18n_impl.h:55:20: note: expanded from macro 'XV_MSG' #define XV_MSG(s) (dgettext(xv_domain, s)) ^ font.c:4161:19: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:4185:26: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:4202:19: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:4212:18: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ font.c:4421:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4429:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4437:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4510:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 46 warnings generated. cp font.o shared/font.o rm -f font_set.o shared/font_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB font_set.c In file included from font_set.c:16: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from font_set.c:17: In file included from ../../../build/include/xview_private/font_impl.h:19: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from font_set.c:17: In file included from ../../../build/include/xview_private/font_impl.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 15 warnings generated. cp font_set.o shared/font_set.o rm -f font_get.o shared/font_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB font_get.c In file included from font_get.c:16: In file included from ../../../build/include/xview_private/font_impl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from font_get.c:16: In file included from ../../../build/include/xview_private/font_impl.h:19: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from font_get.c:16: In file included from ../../../build/include/xview_private/font_impl.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // font_get.c:168:13: warning: implicit declaration of function 'font_init_pixfont' is invalid in C99 [-Wimplicit-function-declaration] font_init_pixfont(font_public); ^ font_get.c:173:12: warning: case value not in enumerated type 'Font_attribute' [-Wswitch] case XV_XID: ^ ../../../build/include/xview/generic.h:64:18: note: expanded from macro 'XV_XID' #define XV_XID XV_DEVICE_NUMBER ^ 17 warnings generated. cp font_get.o shared/font_get.o rm -f font_x.o shared/font_x.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB font_x.c In file included from font_x.c:15: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from font_x.c:17: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // 13 warnings generated. cp font_x.o shared/font_x.o rm -f pf_text.o shared/pf_text.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB pf_text.c In file included from pf_text.c:18: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from pf_text.c:19: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from pf_text.c:24: In file included from ../../../build/include/xview/font.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from pf_text.c:26: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from pf_text.c:26: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from pf_text.c:26: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from pf_text.c:26: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from pf_text.c:26: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // pf_text.c:58:11: warning: implicit declaration of function 'server_image_pf_text' is invalid in C99 [-Wimplicit-function-declaration] errors = server_image_pf_text(prpos, op, pf, str); ^ pf_text.c:96:14: warning: implicit declaration of function 'xv_read_internal' is invalid in C99 [-Wimplicit-function-declaration] errors = xv_read_internal(prpos.pr, prpos.pos.x - pf->pf_char[*str].pc_home.x, ^ pf_text.c:206:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 32 warnings generated. cp pf_text.o shared/pf_text.o rm -f pf_ttext.o shared/pf_ttext.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB pf_ttext.c In file included from pf_ttext.c:18: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from pf_ttext.c:19: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from pf_ttext.c:20: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ pf_ttext.c:36:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (spr = pc->pc_pr) ~~~~^~~~~~~~~~~ pf_ttext.c:36:10: note: place parentheses around the assignment to silence this warning if (spr = pc->pc_pr) ^ ( ) pf_ttext.c:36:10: note: use '==' to turn this assignment into an equality comparison if (spr = pc->pc_pr) ^ == 16 warnings generated. cp pf_ttext.o shared/pf_ttext.o rm -f pf.o shared/pf.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB pf.c In file included from pf.c:20: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from pf.c:21: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from pf.c:22: In file included from ../../../build/include/xview/server.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 15 warnings generated. cp pf.o shared/pf.o + cp shared/font.o ../../libxview/xshared + cp shared/font.o . + cp shared/font_set.o ../../libxview/xshared + cp shared/font_set.o . + cp shared/font_get.o ../../libxview/xshared + cp shared/font_get.o . + cp shared/font_x.o ../../libxview/xshared + cp shared/font_x.o . + cp shared/pf_text.o ../../libxview/xshared + cp shared/pf_text.o . + cp shared/pf_ttext.o ../../libxview/xshared + cp shared/pf_ttext.o . + cp shared/pf.o ../../libxview/xshared + cp shared/pf.o . rm -f font_data.o shared/font_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB font_data.c In file included from font_data.c:12: In file included from ../../../build/include/xview_private/font_impl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from font_data.c:12: In file included from ../../../build/include/xview_private/font_impl.h:19: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from font_data.c:12: In file included from ../../../build/include/xview_private/font_impl.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 15 warnings generated. cp font_data.o shared/font_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB font_data.c In file included from font_data.c:12: In file included from ../../../build/include/xview_private/font_impl.h:18: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from font_data.c:12: In file included from ../../../build/include/xview_private/font_impl.h:19: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from font_data.c:12: In file included from ../../../build/include/xview_private/font_impl.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 15 warnings generated. + cp ./font_data.o ../../libxview/xunshared + cp shared/font_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a font.o font_set.o font_get.o font_x.o pf_text.o pf_ttext.o pf.o font_data.o a - font.o a - font_set.o a - font_get.o a - font_x.o a - pf_text.o a - pf_ttext.o a - pf.o a - font_data.o making all in lib/libxview/frame... rm -f frame.o shared/frame.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB frame.c In file included from frame.c:15: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame.c:15: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from frame.c:15: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from frame.c:15: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from frame.c:15: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from frame.c:18: In file included from ../../../build/include/xview_private/windowimpl.h:32: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from frame.c:18: In file included from ../../../build/include/xview_private/windowimpl.h:34: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // frame.c:24:5: warning: implicit declaration of function 'xv_usage' is invalid in C99 [-Wimplicit-function-declaration] xv_usage(name); ^ frame.c:46:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ frame.c:62:2: warning: implicit declaration of function 'screen_get_sun_wm_protocols' is invalid in C99 [-Wimplicit-function-declaration] screen_get_sun_wm_protocols(xv_screen(info))) { ^ frame.c:103:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ frame.c:118:2: warning: implicit declaration of function 'screen_get_sun_wm_protocols' is invalid in C99 [-Wimplicit-function-declaration] screen_get_sun_wm_protocols(xv_screen(info))) { ^ 31 warnings generated. cp frame.o shared/frame.o rm -f frame_init.o shared/frame_init.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB frame_init.c In file included from frame_init.c:16: In file included from ../../../build/include/xview_private/draw_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from frame_init.c:17: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from frame_init.c:17: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from frame_init.c:18: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_init.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from frame_init.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // frame_init.c:117:5: warning: implicit declaration of function 'win_change_property' is invalid in C99 [-Wimplicit-function-declaration] win_change_property(frame_public, SERVER_WM_PROTOCOLS, XA_ATOM, 32, ^ frame_init.c:124:34: warning: implicit declaration of function 'xv_get_hostname' is invalid in C99 [-Wimplicit-function-declaration] WMMachineName.nitems = (int) xv_get_hostname(hostname, MAXHOSTNAMELEN + 1); ^ frame_init.c:128:5: warning: implicit declaration of function 'win_set_wm_class' is invalid in C99 [-Wimplicit-function-declaration] win_set_wm_class(frame_public); ^ frame_init.c:235:5: warning: implicit declaration of function 'window_set_map_cache' is invalid in C99 [-Wimplicit-function-declaration] window_set_map_cache(frame_public, False); ^ frame_init.c:276:12: warning: implicit declaration of function 'win_getsize' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getsize(frame_public, &frame->rectcache); ^ 30 warnings generated. cp frame_init.o shared/frame_init.o rm -f fm_get.o shared/fm_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_get.c In file included from fm_get.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_get.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_get.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_get.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_get.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_get.c:39:6: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] win_getrect(frame_public, &rect); ^ fm_get.c:56:6: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] win_getrect(frame_public, &rect); ^ fm_get.c:97:10: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] return NULL; ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ fm_get.c:186:10: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] return NULL; ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ fm_get.c:373:16: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *width = (int *)va_arg(valist, int), ^ fm_get.c:374:17: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *height = (int *)va_arg(valist, int), ^ fm_get.c:392:16: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *width = (int *)va_arg(valist, int), ^ fm_get.c:393:17: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] *height = (int *)va_arg(valist, int), ^ fm_get.c:419:15: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] return NULL; ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ fm_get.c:420:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame->icon, &rect_local); ^ fm_get.c:427:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame->icon, &rect_local); ^ fm_get.c:455:8: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] (void)win_get_outer_rect(sw, &rect); ^ fm_get.c:461:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame_public, &rbound); ^ fm_get.c:471:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame_public, &rbound); ^ fm_get.c:557:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[0] = XKeycodeToKeysym(dpy, keycode, 0); ^ /var/pkgsrc/work/x11/xview-lib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/x11/xview-lib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ fm_get.c:569:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[1] = XKeycodeToKeysym(dpy, keycode, 1); ^ /var/pkgsrc/work/x11/xview-lib/work/.buildlink/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here _X_DEPRECATED ^ /var/pkgsrc/work/x11/xview-lib/work/.buildlink/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED' # define _X_DEPRECATED __attribute__((deprecated)) ^ 36 warnings generated. cp fm_get.o shared/fm_get.o rm -f fm_set.o shared/fm_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_set.c In file included from fm_set.c:15: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_set.c:16: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_set.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_set.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_set.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fm_set.c:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fm_set.c:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from fm_set.c:21: In file included from ../../../build/include/xview_private/svr_impl.h:13: ../../../build/include/xview_private/xv_list.h:94:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xv_list_h_already_included ^ // In file included from fm_set.c:21: In file included from ../../../build/include/xview_private/svr_impl.h:18: ../../../build/include/xview_private/seln_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/seln_impl.h:23:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // ../../../build/include/xview_private/seln_impl.h:101:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/seln_impl.h:207:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // In file included from fm_set.c:31: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // fm_set.c:110:18: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_setrect(frame->icon, (Rect *) attrs[1]); ^ fm_set.c:202:7: warning: implicit declaration of function 'xv_deaf' is invalid in C99 [-Wimplicit-function-declaration] if (xv_deaf(frame_public, TRUE) != XV_OK) { ^ fm_set.c:213:7: warning: implicit declaration of function 'xv_deaf' is invalid in C99 [-Wimplicit-function-declaration] if (xv_deaf(frame_public, FALSE) != XV_OK) { ^ fm_set.c:232:6: warning: implicit declaration of function 'wmgr_set_rescale_state' is invalid in C99 [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^ fm_set.c:608:21: warning: implicit declaration of function 'frame_create_footer' is invalid in C99 [-Wimplicit-function-declaration] frame->footer = frame_create_footer(frame); ^ fm_set.c:741:4: warning: implicit declaration of function 'menu_set_acc_on_frame' is invalid in C99 [-Wimplicit-function-declaration] menu_set_acc_on_frame(frame_public, menu, item, FALSE); ^ fm_set.c:787:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fm_set.c:787:18: note: place parentheses around the assignment to silence this warning if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^ ( ) fm_set.c:787:18: note: use '==' to turn this assignment into an equality comparison if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^ == fm_set.c:791:8: warning: implicit declaration of function 'menu_set_acc_on_frame' is invalid in C99 [-Wimplicit-function-declaration] menu_set_acc_on_frame(frame_public, menu, ^ fm_set.c:896:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pullright = (Menu)xv_get(item,MENU_PULLRIGHT)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fm_set.c:896:17: note: place parentheses around the assignment to silence this warning if (pullright = (Menu)xv_get(item,MENU_PULLRIGHT)) { ^ ( ) fm_set.c:896:17: note: use '==' to turn this assignment into an equality comparison if (pullright = (Menu)xv_get(item,MENU_PULLRIGHT)) { ^ == fm_set.c:900:21: warning: implicit declaration of function 'menu_set_acc_on_frame' is invalid in C99 [-Wimplicit-function-declaration] menu_set_acc_on_frame(frame_public, menu, item, TRUE); ^ fm_set.c:963:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fm_set.c:963:21: note: place parentheses around the assignment to silence this warning if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^ ( ) fm_set.c:963:21: note: use '==' to turn this assignment into an equality comparison if (pullright = (Menu)xv_get(item, MENU_PULLRIGHT)) { ^ == fm_set.c:966:24: warning: implicit declaration of function 'menu_set_acc_on_frame' is invalid in C99 [-Wimplicit-function-declaration] menu_set_acc_on_frame(frame_public, menu, item, FALSE); ^ fm_set.c:983:9: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void)win_setrect(frame_public, rect); ^ fm_set.c:1008:9: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void)win_getrect(frame_public, &rect); ^ fm_set.c:1010:3: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] win_setrect(frame_public, &rect); ^ fm_set.c:1055:11: warning: implicit declaration of function 'window_get_map_cache' is invalid in C99 [-Wimplicit-function-declaration] if ((window_get_map_cache(frame_public) != (int)attrs[1]) && ^ fm_set.c:1241:18: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_setrect(frame->icon, icon_rect); ^ fm_set.c:1256:14: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_setrect(frame->icon, icon_rect); ^ fm_set.c:1276:21: warning: implicit declaration of function 'frame_all_set_cmdline_options' is invalid in C99 [-Wimplicit-function-declaration] if (frame_all_set_cmdline_options(frame_public) != XV_OK) { ^ fm_set.c:1292:3: warning: implicit declaration of function 'frame_set_position' is invalid in C99 [-Wimplicit-function-declaration] frame_set_position(owner, frame); ^ fm_set.c:1326:23: warning: implicit declaration of function 'frame_create_footer' is invalid in C99 [-Wimplicit-function-declaration] frame->footer = frame_create_footer(frame); ^ fm_set.c:1362:9: warning: implicit declaration of function 'frame_update_status_win_color' is invalid in C99 [-Wimplicit-function-declaration] frame_update_status_win_color(frame_public, frame->footer, new_frame_cms, ^ fm_set.c:1546:16: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_setrect(frame->icon, icon_rect); ^ fm_set.c:1651:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 56 warnings generated. cp fm_set.o shared/fm_set.o rm -f fm_destroy.o shared/fm_destroy.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_destroy.c In file included from fm_destroy.c:13: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_destroy.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_destroy.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_destroy.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_destroy.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_destroy.c:47:9: warning: implicit declaration of function 'win_remove' is invalid in C99 [-Wimplicit-function-declaration] win_remove(frame_public); ^ fm_destroy.c:61:2: warning: implicit declaration of function 'window_set_parent_dying' is invalid in C99 [-Wimplicit-function-declaration] window_set_parent_dying(); ^ fm_destroy.c:70:2: warning: implicit declaration of function 'window_unset_parent_dying' is invalid in C99 [-Wimplicit-function-declaration] window_unset_parent_dying(); ^ 23 warnings generated. cp fm_destroy.o shared/fm_destroy.o rm -f fm_layout.o shared/fm_layout.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_layout.c In file included from fm_layout.c:13: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_layout.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_layout.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_layout.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_layout.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_layout.c:94:10: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(child, ¤t_rect); /* inner rect */ ^ fm_layout.c:113:10: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_setrect(child, &rect); ^ fm_layout.c:147:7: warning: implicit declaration of function 'xv_deaf' is invalid in C99 [-Wimplicit-function-declaration] if (xv_deaf(child, TRUE) != XV_OK) { ^ fm_layout.c:201:13: warning: implicit declaration of function 'win_insert' is invalid in C99 [-Wimplicit-function-declaration] (void) win_insert(child); ^ fm_layout.c:212:10: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_get_outer_rect(child, &rect); ^ fm_layout.c:214:10: warning: implicit declaration of function 'win_set_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_set_outer_rect(child, &rect); ^ fm_layout.c:220:9: warning: implicit declaration of function 'win_remove' is invalid in C99 [-Wimplicit-function-declaration] (void) win_remove(child); ^ fm_layout.c:228:13: warning: implicit declaration of function 'win_set_kbd_focus' is invalid in C99 [-Wimplicit-function-declaration] (void) win_set_kbd_focus(child, WIN_NULLLINK); ^ fm_layout.c:232:41: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *layout_supported = (int *) d1; ^ fm_layout.c:245:6: warning: implicit declaration of function 'window_getrelrect' is invalid in C99 [-Wimplicit-function-declaration] if (window_getrelrect(child, d1, &rect) != XV_OK) /* outer rect of d1 */ ^ fm_layout.c:249:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *y = (int *) d2; ^ fm_layout.c:254:10: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame_public, &rect); /* inner */ ^ fm_layout.c:262:2: warning: implicit declaration of function 'frame_adjust_rect' is invalid in C99 [-Wimplicit-function-declaration] frame_adjust_rect(frame_public, frame, child, is_subframe, (Rect *)d1); ^ fm_layout.c:262:61: warning: cast to 'Rect *' (aka 'struct rect *') from smaller integer type 'int' [-Wint-to-pointer-cast] frame_adjust_rect(frame_public, frame, child, is_subframe, (Rect *)d1); ^ fm_layout.c:270:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *x = (int *) d2; ^ fm_layout.c:274:10: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame_public, &rect); /* inner */ ^ fm_layout.c:282:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *x = (int *) d1; ^ fm_layout.c:284:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(child, &rect); /* inner rect */ ^ fm_layout.c:295:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *y = (int *) d1; ^ fm_layout.c:297:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(child, &rect); /* inner rect */ ^ fm_layout.c:307:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *w = (int *) d1; ^ fm_layout.c:309:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(child, &rect); /* inner rect */ ^ fm_layout.c:315:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast] int *h = (int *) d1; ^ fm_layout.c:317:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(child, &rect); /* inner rect */ ^ fm_layout.c:323:16: warning: cast to 'Rect *' (aka 'struct rect *') from smaller integer type 'int' [-Wint-to-pointer-cast] Rect *r = (Rect *) d1; ^ fm_layout.c:325:13: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(child, r); /* inner rect */ ^ fm_layout.c:369:2: warning: implicit declaration of function 'win_getsize' is invalid in C99 [-Wimplicit-function-declaration] win_getsize(child, &real_size); ^ fm_layout.c:372:11: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] (void)win_setrect(child, r); ^ fm_layout.c:377:14: warning: implicit declaration of function 'defaults_get_boolean' is invalid in C99 [-Wimplicit-function-declaration] if (!defaults_get_boolean("xview.icccmcompliant", ^ fm_layout.c:392:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fm_layout.c:498:8: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] (void)win_get_outer_rect(child, &rect); ^ fm_layout.c:521:11: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void)win_getrect(frame, &frame_rect); ^ fm_layout.c:528:2: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] win_setrect(footer, &footer_rect); ^ fm_layout.c:533:2: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] win_setrect(frame, &frame_rect); ^ 54 warnings generated. cp fm_layout.o shared/fm_layout.o rm -f fm_cmdline.o shared/fm_cmdline.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_cmdline.c In file included from fm_cmdline.c:13: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_cmdline.c:14: In file included from ../../../build/include/xview/font.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_cmdline.c:22: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fm_cmdline.c:26: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_cmdline.c:26: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // fm_cmdline.c:159:6: warning: implicit declaration of function 'win_set_wm_command' is invalid in C99 [-Wimplicit-function-declaration] win_set_wm_command(frame_public); ^ fm_cmdline.c:170:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ fm_cmdline.c:269:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (string=xv_font_regular()) { ~~~~~~^~~~~~~~~~~~~~~~~~ fm_cmdline.c:269:15: note: place parentheses around the assignment to silence this warning if (string=xv_font_regular()) { ^ ( ) fm_cmdline.c:269:15: note: use '==' to turn this assignment into an equality comparison if (string=xv_font_regular()) { ^ == fm_cmdline.c:459:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif RECLAIM_STRINGS ^ // 24 warnings generated. cp fm_cmdline.o shared/fm_cmdline.o rm -f fm_display.o shared/fm_display.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_display.c In file included from fm_display.c:18: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_display.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_display.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_display.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_display.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_display.c:79:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(FRAME_PUBLIC(frame), info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_display.c:107:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_display.c:108:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame->footer, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_display.c:389:9: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(status_window, status_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_display.c:425:3: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, frame_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_display.c:459:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_display.c:539:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 27 warnings generated. cp fm_display.o shared/fm_display.o rm -f fm_win.o shared/fm_win.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_win.c fm_win.c:15:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // In file included from fm_win.c:18: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_win.c:19: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_win.c:19: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_win.c:19: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_win.c:19: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_win.c:39:5: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] win_getrect(frame_public, &rectnormal); ^ fm_win.c:53:5: warning: implicit declaration of function 'win_setrect' is invalid in C99 [-Wimplicit-function-declaration] win_setrect(frame_public, &rectnormal); ^ fm_win.c:77:12: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(frame, &frame_rect); ^ fm_win.c:117:10: warning: implicit declaration of function 'win_view_state' is invalid in C99 [-Wimplicit-function-declaration] if (win_view_state(display, *c) != IsViewable) ^ fm_win.c:119:6: warning: implicit declaration of function 'win_x_getrect' is invalid in C99 [-Wimplicit-function-declaration] win_x_getrect(display, *c, &child_rect); ^ 26 warnings generated. cp fm_win.o shared/fm_win.o rm -f fm_geom.o shared/fm_geom.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_geom.c In file included from fm_geom.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_geom.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_geom.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_geom.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_geom.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_geom.c:83:12: warning: implicit declaration of function 'win_getrect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getrect(nsw,¤t_rect); ^ fm_geom.c:94:2: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] win_get_outer_rect(swprevious, rect); /* outer rect */ ^ fm_geom.c:124:2: warning: implicit declaration of function 'window_outer_to_innerrect' is invalid in C99 [-Wimplicit-function-declaration] window_outer_to_innerrect(swprevious, rect); /* decrease the rect if ^ 23 warnings generated. cp fm_geom.o shared/fm_geom.o rm -f fm_input.o shared/fm_input.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_input.c In file included from fm_input.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_input.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_input.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_input.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_input.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_input.c:61:3: warning: implicit declaration of function 'xv_help_show' is invalid in C99 [-Wimplicit-function-declaration] xv_help_show(frame_public, help_data, event); ^ fm_input.c:71:9: warning: implicit declaration of function 'win_getsize' is invalid in C99 [-Wimplicit-function-declaration] (void) win_getsize(frame_public, &frame->rectcache); ^ fm_input.c:75:7: warning: implicit declaration of function 'defaults_get_boolean' is invalid in C99 [-Wimplicit-function-declaration] if (!defaults_get_boolean("xview.icccmcompliant", ^ fm_input.c:80:3: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(frame_public, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_input.c:234:2: warning: implicit declaration of function 'frame_handle_props' is invalid in C99 [-Wimplicit-function-declaration] frame_handle_props(frame_public); ^ fm_input.c:275:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_input.c:285:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(image, image_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fm_input.c:363:31: warning: cast to 'Xv_frame_class *' from smaller integer type 'int' [-Wint-to-pointer-cast] Frame_class_info *frame = FRAME_CLASS_PRIVATE(frame_public); ^ ../../../build/include/xview_private/fm_impl.h:64:32: note: expanded from macro 'FRAME_CLASS_PRIVATE' #define FRAME_CLASS_PRIVATE(f) XV_PRIVATE(Frame_class_info, Xv_frame_class, f) ^ ../../../build/include/xview/pkg.h:54:20: note: expanded from macro 'XV_PRIVATE' ((private_type *)((public_type *) (obj))->private_data) ^ 28 warnings generated. cp fm_input.o shared/fm_input.o rm -f fm_bdry.o shared/fm_bdry.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_bdry.c In file included from fm_bdry.c:17: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_bdry.c:17: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_bdry.c:17: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_bdry.c:17: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_bdry.c:17: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_bdry.c:60:5: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] win_get_outer_rect(sw, &rect); /* outer rect */ ^ fm_bdry.c:102:5: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] win_get_outer_rect(target_sw, &target_rect); ^ 22 warnings generated. cp fm_bdry.o shared/fm_bdry.o rm -f frame_sw.o shared/frame_sw.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB frame_sw.c In file included from frame_sw.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_sw.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from frame_sw.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from frame_sw.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from frame_sw.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // frame_sw.c:99:9: warning: implicit declaration of function 'win_get_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_get_outer_rect(sw, &rect); ^ frame_sw.c:160:13: warning: implicit declaration of function 'win_set_outer_rect' is invalid in C99 [-Wimplicit-function-declaration] (void) win_set_outer_rect(sw, &rect); ^ 22 warnings generated. cp frame_sw.o shared/frame_sw.o rm -f fm_rescale.o shared/fm_rescale.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_rescale.c In file included from fm_rescale.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_rescale.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_rescale.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_rescale.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_rescale.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // fm_rescale.c:44:5: warning: implicit declaration of function 'window_default_event_func' is invalid in C99 [-Wimplicit-function-declaration] window_default_event_func(frame_public, (Event *) 0, scale, (Notify_event_type) 0); ^ fm_rescale.c:45:5: warning: implicit declaration of function 'window_calculate_new_size' is invalid in C99 [-Wimplicit-function-declaration] window_calculate_new_size(frame_public, frame_public, &frame_height, &frame_width); ^ fm_rescale.c:58:2: warning: implicit declaration of function 'window_set_rescale_state' is invalid in C99 [-Wimplicit-function-declaration] window_set_rescale_state(sw, scale); ^ fm_rescale.c:59:5: warning: implicit declaration of function 'window_start_rescaling' is invalid in C99 [-Wimplicit-function-declaration] window_start_rescaling(sw); ^ fm_rescale.c:63:2: warning: implicit declaration of function 'window_adjust_rects' is invalid in C99 [-Wimplicit-function-declaration] window_adjust_rects(rect_obj_list, num_sws, frame_width, frame_height); ^ fm_rescale.c:67:5: warning: implicit declaration of function 'window_end_rescaling' is invalid in C99 [-Wimplicit-function-declaration] window_end_rescaling(sw); ^ 26 warnings generated. cp fm_rescale.o shared/fm_rescale.o rm -f frame_base.o shared/frame_base.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB frame_base.c In file included from frame_base.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_base.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from frame_base.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from frame_base.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from frame_base.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from frame_base.c:15: ../../../build/include/xview_private/frame_base.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_base.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_base.c:17: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // frame_base.c:78:6: warning: implicit declaration of function 'wmgr_set_rescale_state' is invalid in C99 [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^ frame_base.c:95:3: warning: implicit declaration of function 'screen_check_sun_wm_protocols' is invalid in C99 [-Wimplicit-function-declaration] screen_check_sun_wm_protocols(xv_screen(info), check_atom)) { ^ frame_base.c:105:9: warning: implicit declaration of function 'wmgr_delete_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^ frame_base.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] frame_handle_props(frame_public) ^ frame_base.c:121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 32 warnings generated. cp frame_base.o shared/frame_base.o rm -f fmbs_set.o shared/fmbs_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmbs_set.c In file included from fmbs_set.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmbs_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmbs_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmbs_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmbs_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmbs_set.c:15: ../../../build/include/xview_private/frame_base.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_base.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // fmbs_set.c:116:6: warning: implicit declaration of function 'wmgr_set_rescale_state' is invalid in C99 [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^ fmbs_set.c:155:12: warning: implicit declaration of function 'wmgr_set_win_attr' is invalid in C99 [-Wimplicit-function-declaration] (void)wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^ fmbs_set.c:235:3: warning: implicit declaration of function 'screen_check_sun_wm_protocols' is invalid in C99 [-Wimplicit-function-declaration] screen_check_sun_wm_protocols(xv_screen(info), check_atom)) { ^ fmbs_set.c:258:2: warning: implicit declaration of function 'wmgr_add_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^ fmbs_set.c:260:2: warning: implicit declaration of function 'wmgr_delete_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^ 27 warnings generated. cp fmbs_set.o shared/fmbs_set.o rm -f fmbs_get.o shared/fmbs_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmbs_get.c In file included from fmbs_get.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmbs_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmbs_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmbs_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmbs_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmbs_get.c:14: ../../../build/include/xview_private/frame_base.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_base.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // 22 warnings generated. cp fmbs_get.o shared/fmbs_get.o rm -f fmbs_dsty.o shared/fmbs_dsty.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmbs_dsty.c In file included from fmbs_dsty.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmbs_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmbs_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmbs_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmbs_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmbs_dsty.c:14: ../../../build/include/xview_private/frame_base.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_base.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // 22 warnings generated. cp fmbs_dsty.o shared/fmbs_dsty.o rm -f frame_cmd.o shared/frame_cmd.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB frame_cmd.c In file included from frame_cmd.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_cmd.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from frame_cmd.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from frame_cmd.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from frame_cmd.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from frame_cmd.c:15: ../../../build/include/xview_private/frame_cmd.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_cmd.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_cmd.c:15: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from frame_cmd.c:15: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from frame_cmd.c:17: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // frame_cmd.c:87:6: warning: implicit declaration of function 'wmgr_set_rescale_state' is invalid in C99 [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^ frame_cmd.c:103:12: warning: implicit declaration of function 'wmgr_set_win_attr' is invalid in C99 [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^ 31 warnings generated. cp frame_cmd.o shared/frame_cmd.o rm -f fmcmd_set.o shared/fmcmd_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmcmd_set.c In file included from fmcmd_set.c:15: In file included from ../../../build/include/xview_private/draw_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmcmd_set.c:16: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmcmd_set.c:17: ../../../build/include/xview_private/frame_cmd.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_cmd.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmcmd_set.c:17: In file included from ../../../build/include/xview_private/frame_cmd.h:46: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmcmd_set.c:17: In file included from ../../../build/include/xview_private/frame_cmd.h:46: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmcmd_set.c:17: In file included from ../../../build/include/xview_private/frame_cmd.h:46: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmcmd_set.c:17: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fmcmd_set.c:17: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // fmcmd_set.c:123:6: warning: implicit declaration of function 'wmgr_set_rescale_state' is invalid in C99 [-Wimplicit-function-declaration] wmgr_set_rescale_state(frame_public, attrs[1]); ^ fmcmd_set.c:243:11: warning: implicit declaration of function 'win_change_property' is invalid in C99 [-Wimplicit-function-declaration] win_change_property(frame_public, ^ fmcmd_set.c:275:9: warning: implicit declaration of function 'wmgr_set_win_attr' is invalid in C99 [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^ fmcmd_set.c:296:2: warning: implicit declaration of function 'wmgr_add_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^ fmcmd_set.c:298:2: warning: implicit declaration of function 'wmgr_delete_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^ 29 warnings generated. cp fmcmd_set.o shared/fmcmd_set.o rm -f fmcmd_get.o shared/fmcmd_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmcmd_get.c In file included from fmcmd_get.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmcmd_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmcmd_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmcmd_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmcmd_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmcmd_get.c:14: ../../../build/include/xview_private/frame_cmd.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_cmd.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmcmd_get.c:14: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fmcmd_get.c:14: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // 24 warnings generated. cp fmcmd_get.o shared/fmcmd_get.o rm -f fmcmd_dsty.o shared/fmcmd_dsty.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmcmd_dsty.c In file included from fmcmd_dsty.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmcmd_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmcmd_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmcmd_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmcmd_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmcmd_dsty.c:14: ../../../build/include/xview_private/frame_cmd.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_cmd.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmcmd_dsty.c:14: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fmcmd_dsty.c:14: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // 24 warnings generated. cp fmcmd_dsty.o shared/fmcmd_dsty.o rm -f frame_help.o shared/frame_help.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB frame_help.c In file included from frame_help.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_help.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from frame_help.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from frame_help.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from frame_help.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from frame_help.c:15: ../../../build/include/xview_private/frame_help.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_help.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from frame_help.c:17: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // 27 warnings generated. cp frame_help.o shared/frame_help.o rm -f fmhlp_set.o shared/fmhlp_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmhlp_set.c In file included from fmhlp_set.c:14: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmhlp_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmhlp_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmhlp_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmhlp_set.c:14: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmhlp_set.c:15: ../../../build/include/xview_private/frame_help.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_help.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // fmhlp_set.c:135:13: warning: implicit declaration of function 'wmgr_set_win_attr' is invalid in C99 [-Wimplicit-function-declaration] (void) wmgr_set_win_attr(frame_public, &(frame->win_attr)); ^ fmhlp_set.c:145:2: warning: implicit declaration of function 'wmgr_add_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_add_decor(frame_public, add_decor_list, add_decor); ^ fmhlp_set.c:148:2: warning: implicit declaration of function 'wmgr_delete_decor' is invalid in C99 [-Wimplicit-function-declaration] wmgr_delete_decor(frame_public, delete_decor_list, delete_decor); ^ 25 warnings generated. cp fmhlp_set.o shared/fmhlp_set.o rm -f fmhlp_get.o shared/fmhlp_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmhlp_get.c In file included from fmhlp_get.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmhlp_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmhlp_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmhlp_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmhlp_get.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmhlp_get.c:14: ../../../build/include/xview_private/frame_help.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_help.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // 22 warnings generated. cp fmhlp_get.o shared/fmhlp_get.o rm -f fmhlp_dsty.o shared/fmhlp_dsty.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fmhlp_dsty.c In file included from fmhlp_dsty.c:13: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fmhlp_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fmhlp_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fmhlp_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fmhlp_dsty.c:13: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fmhlp_dsty.c:14: ../../../build/include/xview_private/frame_help.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_help.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // 22 warnings generated. cp fmhlp_dsty.o shared/fmhlp_dsty.o + cp shared/frame.o ../../libxview/xshared + cp shared/frame.o . + cp shared/frame_init.o ../../libxview/xshared + cp shared/frame_init.o . + cp shared/fm_get.o ../../libxview/xshared + cp shared/fm_get.o . + cp shared/fm_set.o ../../libxview/xshared + cp shared/fm_set.o . + cp shared/fm_destroy.o ../../libxview/xshared + cp shared/fm_destroy.o . + cp shared/fm_layout.o ../../libxview/xshared + cp shared/fm_layout.o . + cp shared/fm_cmdline.o ../../libxview/xshared + cp shared/fm_cmdline.o . + cp shared/fm_display.o ../../libxview/xshared + cp shared/fm_display.o . + cp shared/fm_win.o ../../libxview/xshared + cp shared/fm_win.o . + cp shared/fm_geom.o ../../libxview/xshared + cp shared/fm_geom.o . + cp shared/fm_input.o ../../libxview/xshared + cp shared/fm_input.o . + cp shared/fm_bdry.o ../../libxview/xshared + cp shared/fm_bdry.o . + cp shared/frame_sw.o ../../libxview/xshared + cp shared/frame_sw.o . + cp shared/fm_rescale.o ../../libxview/xshared + cp shared/fm_rescale.o . + cp shared/frame_base.o ../../libxview/xshared + cp shared/frame_base.o . + cp shared/fmbs_set.o ../../libxview/xshared + cp shared/fmbs_set.o . + cp shared/fmbs_get.o ../../libxview/xshared + cp shared/fmbs_get.o . + cp shared/fmbs_dsty.o ../../libxview/xshared + cp shared/fmbs_dsty.o . + cp shared/frame_cmd.o ../../libxview/xshared + cp shared/frame_cmd.o . + cp shared/fmcmd_set.o ../../libxview/xshared + cp shared/fmcmd_set.o . + cp shared/fmcmd_get.o ../../libxview/xshared + cp shared/fmcmd_get.o . + cp shared/fmcmd_dsty.o ../../libxview/xshared + cp shared/fmcmd_dsty.o . + cp shared/frame_help.o ../../libxview/xshared + cp shared/frame_help.o . + cp shared/fmhlp_set.o ../../libxview/xshared + cp shared/fmhlp_set.o . + cp shared/fmhlp_get.o ../../libxview/xshared + cp shared/fmhlp_get.o . + cp shared/fmhlp_dsty.o ../../libxview/xshared + cp shared/fmhlp_dsty.o . rm -f fm_data.o shared/fm_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_data.c In file included from fm_data.c:16: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fm_data.c:17: ../../../build/include/xview_private/frame_help.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_help.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_data.c:18: ../../../build/include/xview_private/frame_cmd.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_cmd.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_data.c:18: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fm_data.c:18: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from fm_data.c:19: ../../../build/include/xview_private/frame_base.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_base.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // 28 warnings generated. cp fm_data.o shared/fm_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_data.c In file included from fm_data.c:16: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fm_data.c:16: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from fm_data.c:17: ../../../build/include/xview_private/frame_help.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_help.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_data.c:18: ../../../build/include/xview_private/frame_cmd.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_cmd.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from fm_data.c:18: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from fm_data.c:18: In file included from ../../../build/include/xview_private/frame_cmd.h:49: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from fm_data.c:19: ../../../build/include/xview_private/frame_base.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/frame_base.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // 28 warnings generated. rm -f fm_rodata.o shared/fm_rodata.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_rodata.c cp fm_rodata.o shared/fm_rodata.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fm_rodata.c + cp ./fm_data.o ../../libxview/xunshared + cp shared/fm_data.o ../../libxview/xshared + cp ./fm_rodata.o ../../libxview/xunshared + cp shared/fm_rodata.o ../../libxview/xshared ar ruv ../../libxview/libxview.a frame.o frame_init.o fm_get.o fm_set.o fm_destroy.o fm_layout.o fm_cmdline.o fm_display.o fm_win.o fm_geom.o fm_input.o fm_bdry.o frame_sw.o fm_rescale.o frame_base.o fmbs_set.o fmbs_get.o fmbs_dsty.o frame_cmd.o fmcmd_set.o fmcmd_get.o fmcmd_dsty.o frame_help.o fmhlp_set.o fmhlp_get.o fmhlp_dsty.o fm_data.o fm_rodata.o a - frame.o a - frame_init.o a - fm_get.o a - fm_set.o a - fm_destroy.o a - fm_layout.o a - fm_cmdline.o a - fm_display.o a - fm_win.o a - fm_geom.o a - fm_input.o a - fm_bdry.o a - frame_sw.o a - fm_rescale.o a - frame_base.o a - fmbs_set.o a - fmbs_get.o a - fmbs_dsty.o a - frame_cmd.o a - fmcmd_set.o a - fmcmd_get.o a - fmcmd_dsty.o a - frame_help.o a - fmhlp_set.o a - fmhlp_get.o a - fmhlp_dsty.o a - fm_data.o a - fm_rodata.o making all in lib/libxview/fullscreen... rm -f fs.o shared/fs.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fs.c In file included from fs.c:13: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fs.c:14: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fs.c:14: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // fs.c:159:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fs.c:173:5: warning: implicit declaration of function 'win_getinputmask' is invalid in C99 [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, &fullscreen->cached_im, ^ fs.c:205:16: warning: implicit declaration of function 'xv_win_grab' is invalid in C99 [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^ fs.c:245:19: warning: implicit declaration of function 'xv_set_embedding_data' is invalid in C99 [-Wimplicit-function-declaration] *offset_ptr = xv_set_embedding_data((Xv_opaque)myfullscreenstruct, ^ fs.c:248:5: warning: implicit declaration of function 'server_set_fullscreen' is invalid in C99 [-Wimplicit-function-declaration] server_set_fullscreen(xv_get(xv_get(fullscreen->root_window, ^ fs.c:266:16: warning: implicit declaration of function 'xv_win_ungrab' is invalid in C99 [-Wimplicit-function-declaration] (void) xv_win_ungrab(fullscreen->input_window, ^ fs.c:277:5: warning: implicit declaration of function 'server_set_fullscreen' is invalid in C99 [-Wimplicit-function-declaration] server_set_fullscreen(xv_get(xv_get(fullscreen->root_window, ^ fs.c:320:32: warning: implicit declaration of function 'defaults_get_boolean' is invalid in C99 [-Wimplicit-function-declaration] fullscreendebug = (int)defaults_get_boolean("fullscreen.debug", ^ 26 warnings generated. cp fs.o shared/fs.o rm -f fs_set.o shared/fs_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fs_set.c In file included from fs_set.c:13: In file included from ../../../build/include/xview_private/draw_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fs_set.c:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fs_set.c:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // fs_set.c:46:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(fullscreen->input_window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fs_set.c:137:2: warning: implicit declaration of function 'win_getinputmask' is invalid in C99 [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, &fullscreen->inputmask, ^ fs_set.c:168:2: warning: implicit declaration of function 'win_set_grabio_params' is invalid in C99 [-Wimplicit-function-declaration] win_set_grabio_params(fullscreen->input_window, ^ fs_set.c:191:16: warning: implicit declaration of function 'xv_win_grab' is invalid in C99 [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^ fs_set.c:217:16: warning: implicit declaration of function 'xv_win_grab' is invalid in C99 [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^ fs_set.c:243:16: warning: implicit declaration of function 'xv_win_grab' is invalid in C99 [-Wimplicit-function-declaration] grab_result = xv_win_grab(fullscreen->input_window, ^ fs_set.c:278:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ fs_set.c:277:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ 26 warnings generated. cp fs_set.o shared/fs_set.o rm -f fs_get.o shared/fs_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fs_get.c In file included from fs_get.c:14: In file included from ../../../build/include/xview_private/fs_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fs_get.c:14: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fs_get.c:14: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // fs_get.c:76:6: warning: implicit declaration of function 'win_getinputmask' is invalid in C99 [-Wimplicit-function-declaration] win_getinputmask(fullscreen->input_window, ^ fs_get.c:71:12: warning: case value not in enumerated type 'Fullscreen_attr' [-Wswitch] case WIN_CURSOR: ^ fs_get.c:74:12: warning: case value not in enumerated type 'Fullscreen_attr' [-Wswitch] case WIN_INPUT_MASK: ^ 21 warnings generated. cp fs_get.o shared/fs_get.o rm -f fs_compat.o shared/fs_compat.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fs_compat.c In file included from fs_compat.c:13: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:19: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fs_compat.c:13: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fs_compat.c:13: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // fs_compat.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fs_compat.c:51:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ fs_compat.c:59:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 21 warnings generated. cp fs_compat.o shared/fs_compat.o + cp shared/fs.o ../../libxview/xshared + cp shared/fs.o . + cp shared/fs_set.o ../../libxview/xshared + cp shared/fs_set.o . + cp shared/fs_get.o ../../libxview/xshared + cp shared/fs_get.o . + cp shared/fs_compat.o ../../libxview/xshared + cp shared/fs_compat.o . rm -f fs_data.o shared/fs_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fs_data.c In file included from fs_data.c:13: In file included from ../../../build/include/xview_private/fs_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fs_data.c:13: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fs_data.c:13: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // 18 warnings generated. cp fs_data.o shared/fs_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB fs_data.c In file included from fs_data.c:13: In file included from ../../../build/include/xview_private/fs_impl.h:16: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from fs_data.c:13: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from fs_data.c:13: In file included from ../../../build/include/xview_private/fs_impl.h:19: In file included from ../../../build/include/xview/fullscreen.h:14: In file included from ../../../build/include/xview/cursor.h:29: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // 18 warnings generated. + cp ./fs_data.o ../../libxview/xunshared + cp shared/fs_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a fs.o fs_set.o fs_get.o fs_compat.o fs_data.o a - fs.o a - fs_set.o a - fs_get.o a - fs_compat.o a - fs_data.o making all in lib/libxview/help... rm -f help.o shared/help.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB help.c In file included from help.c:15: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from help.c:16: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // help.c:206:25: warning: incompatible pointer to integer conversion assigning to 'Server_image' (aka 'unsigned long') from 'void *' [-Wint-conversion] help_info->help_image = NULL; ^ ~~~~ help.c:208:28: warning: incompatible pointer to integer conversion assigning to 'Frame' (aka 'unsigned long') from 'void *' [-Wint-conversion] help_info->help_frame = NULL; ^ ~~~~ help.c:230:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:247:24: warning: incompatible pointer to integer conversion assigning to 'Server_image' (aka 'unsigned long') from 'void *' [-Wint-conversion] help_info->help_image = NULL; ^ ~~~~ help.c:259:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->help_image, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:287:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(pw, src_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:347:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(client_window, src_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:508:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(mglass_panel, dst_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:509:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->mglass_stencil_image, stencil_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:510:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->mglass_image, src_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ help.c:527:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(help_info->help_image, dst_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 40 warnings generated. cp help.o shared/help.o rm -f help_file.o shared/help_file.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB help_file.c In file included from help_file.c:17: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ help_file.c:40:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (entry = fgets(help_buffer, sizeof(help_buffer), help_file)) ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ help_file.c:40:18: note: place parentheses around the assignment to silence this warning while (entry = fgets(help_buffer, sizeof(help_buffer), help_file)) ^ ( ) help_file.c:40:18: note: use '==' to turn this assignment into an equality comparison while (entry = fgets(help_buffer, sizeof(help_buffer), help_file)) ^ == help_file.c:107:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] } while (helpdir=xv_strtok(NULL, ":")); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ help_file.c:107:21: note: place parentheses around the assignment to silence this warning } while (helpdir=xv_strtok(NULL, ":")); ^ ( ) help_file.c:107:21: note: use '==' to turn this assignment into an equality comparison } while (helpdir=xv_strtok(NULL, ":")); ^ == 4 warnings generated. cp help_file.o shared/help_file.o + cp shared/help.o ../../libxview/xshared + cp shared/help.o . + cp shared/help_file.o ../../libxview/xshared + cp shared/help_file.o . rm -f hlp_rodata.o shared/hlp_rodata.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB hlp_rodata.c In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp hlp_rodata.o shared/hlp_rodata.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB hlp_rodata.c In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from hlp_rodata.c:18: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. + cp ./hlp_rodata.o ../../libxview/xunshared + cp shared/hlp_rodata.o ../../libxview/xshared ar ruv ../../libxview/libxview.a help.o help_file.o hlp_rodata.o a - help.o a - help_file.o a - hlp_rodata.o making all in lib/libxview/icon... rm -f icon.o shared/icon.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB icon.c In file included from icon.c:19: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from icon.c:21: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from icon.c:27: ../../../build/include/xview_private/svrim_impl.h:43:9: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_server_image_impl_h_already_included ^ // icon.c:53:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( pixwin, info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:235:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( win, info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:267:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( win, info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:296:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( pixwin, info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:301:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mpr, src_info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:334:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mask, mask_info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:351:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( (Xv_opaque) icon->ic_mpr, src_info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:357:7: warning: implicit declaration of function 'xv_rop_internal' is invalid in C99 [-Wimplicit-function-declaration] if ( xv_rop_internal( display, xid, gc, icon->ic_gfxrect.r_left + x, ^ icon.c:361:16: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ERROR_STRING, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon.c:366:6: warning: implicit declaration of function 'xv_rop_mpr_internal' is invalid in C99 [-Wimplicit-function-declaration] if (xv_rop_mpr_internal( display, xid, gc, icon->ic_gfxrect.r_left + x, ^ 40 warnings generated. cp icon.o shared/icon.o rm -f icon_obj.o shared/icon_obj.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB icon_obj.c In file included from icon_obj.c:19: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from icon_obj.c:20: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from icon_obj.c:25: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // icon_obj.c:67:19: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] avlist[0] = NULL; ^ ~~~~ icon_obj.c:69:36: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] return (Icon) xv_create_avlist(NULL, ICON, avlist); ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/pkg.h:95:57: note: passing argument to parameter 'parent' here EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ^ icon_obj.c:110:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] icon_destroy(icon_public) ^ icon_obj.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ icon_obj.c:337:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(icon->frame, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon_obj.c:454:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO( icon_public, info ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon_obj.c:466:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ERROR_SEVERITY, ERROR_RECOVERABLE, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon_obj.c:471:14: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error( NULL, ERROR_SEVERITY, ERROR_RECOVERABLE, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon_obj.c:470:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if ( !XAllocColor( display, cmap, &color ) ) { ^ 24 warnings generated. cp icon_obj.o shared/icon_obj.o rm -f icon_load.o shared/icon_load.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB icon_load.c In file included from icon_load.c:16: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from icon_load.c:17: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from icon_load.c:24: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from icon_load.c:26: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from icon_load.c:30: In file included from ../../../build/include/xview_private/pw_impl.h:15: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from icon_load.c:30: In file included from ../../../build/include/xview_private/pw_impl.h:15: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // icon_load.c:48:19: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] if (from_file == "" || ^ ~~ icon_load.c:199:12: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon_load.c:208:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ icon_load.c:253:9: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'Server_image' (aka 'unsigned long') [-Wint-conversion] return (NULL); ^~~~~~ icon_load.c:275:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(result, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ icon_load.c:280:5: warning: implicit declaration of function 'xv_rop_mpr_internal' is invalid in C99 [-Wimplicit-function-declaration] xv_rop_mpr_internal(display, xv_xid(info), gc, ^ icon_load.c:311:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 29 warnings generated. cp icon_load.o shared/icon_load.o rm -f icon_input.o shared/icon_input.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB icon_input.c In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:21: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:23: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:30: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:32: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from icon_input.c:14: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:41: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 29 warnings generated. cp icon_input.o shared/icon_input.o + cp shared/icon.o ../../libxview/xshared + cp shared/icon.o . + cp shared/icon_obj.o ../../libxview/xshared + cp shared/icon_obj.o . + cp shared/icon_load.o ../../libxview/xshared + cp shared/icon_load.o . + cp shared/icon_input.o ../../libxview/xshared + cp shared/icon_input.o . rm -f icon_data.o shared/icon_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB icon_data.c In file included from icon_data.c:16: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:18: In file included from ../../../build/include/xview/window.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from icon_data.c:16: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from icon_data.c:16: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 15 warnings generated. cp icon_data.o shared/icon_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB icon_data.c In file included from icon_data.c:16: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:18: In file included from ../../../build/include/xview/window.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from icon_data.c:16: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from icon_data.c:16: In file included from ../../../build/include/xview_private/icon_impl.h:15: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // 15 warnings generated. + cp ./icon_data.o ../../libxview/xunshared + cp shared/icon_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a icon.o icon_obj.o icon_load.o icon_input.o icon_data.o a - icon.o a - icon_obj.o a - icon_load.o a - icon_input.o a - icon_data.o making all in lib/libxview/io_stream... rm -f input.o shared/input.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB input.c In file included from input.c:13: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. cp input.o shared/input.o rm -f output.o shared/output.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB output.c In file included from output.c:13: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ output.c:37:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ output.c:20:15: note: expanded from macro 'Get_Output_Ops' xv_error(NULL, \ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ output.c:65:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ output.c:20:15: note: expanded from macro 'Get_Output_Ops' xv_error(NULL, \ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ output.c:84:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] Get_Output_Ops; ^~~~~~~~~~~~~~ output.c:20:15: note: expanded from macro 'Get_Output_Ops' xv_error(NULL, \ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 5 warnings generated. cp output.o shared/output.o rm -f io.o shared/io.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB io.c In file included from io.c:13: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. cp io.o shared/io.o rm -f str_strms.o shared/str_strms.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB str_strms.c str_strms.c:126:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ str_strms.c:137:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ str_strms.c:224:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ str_strms.c:235:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 4 warnings generated. cp str_strms.o shared/str_strms.o rm -f file_strms.o shared/file_strms.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB file_strms.c file_strms.c:137:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ file_strms.c:148:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ file_strms.c:248:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ file_strms.c:259:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 4 warnings generated. cp file_strms.o shared/file_strms.o rm -f othr_strms.o shared/othr_strms.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB othr_strms.c cp othr_strms.o shared/othr_strms.o + cp shared/input.o ../../libxview/xshared + cp shared/input.o . + cp shared/output.o ../../libxview/xshared + cp shared/output.o . + cp shared/io.o ../../libxview/xshared + cp shared/io.o . + cp shared/str_strms.o ../../libxview/xshared + cp shared/str_strms.o . + cp shared/file_strms.o ../../libxview/xshared + cp shared/file_strms.o . + cp shared/othr_strms.o ../../libxview/xshared + cp shared/othr_strms.o . ar ruv ../../libxview/libxview.a input.o output.o io.o str_strms.o file_strms.o othr_strms.o a - input.o a - output.o a - io.o a - str_strms.o a - file_strms.o a - othr_strms.o making all in lib/libxview/menu... rm -f omi.o shared/omi.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB omi.c In file included from omi.c:29: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from omi.c:33: In file included from ../../../build/include/xview_private/om_impl.h:12: In file included from ../../../build/include/xview/openmenu.h:17: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from omi.c:33: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from omi.c:33: In file included from ../../../build/include/xview_private/om_impl.h:18: ../../../build/include/xview_private/omi_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TYPES_ ^ // ../../../build/include/xview_private/omi_impl.h:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixrect_DEFINED ^ // ../../../build/include/xview_private/omi_impl.h:90:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_image_impl_h_already_included ^ // In file included from omi.c:33: ../../../build/include/xview_private/om_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:296:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_walkmenu_impl_h_already_included ^ // omi.c:90:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 22 warnings generated. cp omi.o shared/omi.o rm -f om_public.o shared/om_public.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_public.c om_public.c:21:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // In file included from om_public.c:23: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from om_public.c:24: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from om_public.c:31: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from om_public.c:35: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from om_public.c:35: In file included from ../../../build/include/xview_private/fm_impl.h:35: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from om_public.c:35: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from om_public.c:35: In file included from ../../../build/include/xview_private/fm_impl.h:50: In file included from ../../../build/include/xview/icon.h:20: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from om_public.c:36: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:22: ../../../build/include/pixrect/pr_planegroups.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_planegroups_DEFINED ^ // In file included from om_public.c:36: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:33: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from om_public.c:36: In file included from ../../../build/include/xview/xview.h:18: In file included from ../../../build/include/xview/xview_xvin.h:34: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from om_public.c:50: In file included from ../../../build/include/xview_private/om_impl.h:18: ../../../build/include/xview_private/omi_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TYPES_ ^ // ../../../build/include/xview_private/omi_impl.h:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixrect_DEFINED ^ // ../../../build/include/xview_private/omi_impl.h:90:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_image_impl_h_already_included ^ // In file included from om_public.c:50: ../../../build/include/xview_private/om_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:296:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_walkmenu_impl_h_already_included ^ // om_public.c:609:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m_gen_proc = menu->gen_proc) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~ om_public.c:609:20: note: place parentheses around the assignment to silence this warning if (m_gen_proc = menu->gen_proc) { ^ ( ) om_public.c:609:20: note: use '==' to turn this assignment into an equality comparison if (m_gen_proc = menu->gen_proc) { ^ == om_public.c:674:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mi_gen_proc = mi->gen_proc) { ~~~~~~~~~~~~^~~~~~~~~~~~~~ om_public.c:674:21: note: place parentheses around the assignment to silence this warning if (mi_gen_proc = mi->gen_proc) { ^ ( ) om_public.c:674:21: note: use '==' to turn this assignment into an equality comparison if (mi_gen_proc = mi->gen_proc) { ^ == om_public.c:724:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gen_proc = mi->gen_pullright) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ om_public.c:724:18: note: place parentheses around the assignment to silence this warning if (gen_proc = mi->gen_pullright) { ^ ( ) om_public.c:724:18: note: use '==' to turn this assignment into an equality comparison if (gen_proc = mi->gen_pullright) { ^ == om_public.c:867:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gen_proc = m_base->gen_proc) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~ om_public.c:867:18: note: place parentheses around the assignment to silence this warning if (gen_proc = m_base->gen_proc) { ^ ( ) om_public.c:867:18: note: use '==' to turn this assignment into an equality comparison if (gen_proc = m_base->gen_proc) { ^ == om_public.c:884:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gen_item_proc = mi->gen_proc) { ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ om_public.c:884:20: note: place parentheses around the assignment to silence this warning if (gen_item_proc = mi->gen_proc) { ^ ( ) om_public.c:884:20: note: use '==' to turn this assignment into an equality comparison if (gen_item_proc = mi->gen_proc) { ^ == om_public.c:908:13: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] correct = !mi->no_feedback == (unsigned) attrs[1]; ^ ~~ om_public.c:908:13: note: add parentheses after the '!' to evaluate the comparison first correct = !mi->no_feedback == (unsigned) attrs[1]; ^ ( ) om_public.c:908:13: note: add parentheses around left hand side expression to silence this warning correct = !mi->no_feedback == (unsigned) attrs[1]; ^ ( ) om_public.c:993:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ om_public.c:1728:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (mi_gen_proc = menu_item_private->gen_proc) { ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_public.c:1728:22: note: place parentheses around the assignment to silence this warning if (mi_gen_proc = menu_item_private->gen_proc) { ^ ( ) om_public.c:1728:22: note: use '==' to turn this assignment into an equality comparison if (mi_gen_proc = menu_item_private->gen_proc) { ^ == 49 warnings generated. cp om_public.o shared/om_public.o rm -f om_render.o shared/om_render.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_render.c In file included from om_render.c:18: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from om_render.c:19: ../../../build/include/pixrect/pr_util.h:69:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68000 ^ // ../../../build/include/pixrect/pr_util.h:73:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68000 ^ // ../../../build/include/pixrect/pr_util.h:91:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else mc68010 ^ // ../../../build/include/pixrect/pr_util.h:93:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif mc68010 ^ // ../../../build/include/pixrect/pr_util.h:136:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pr_util.h:138:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_util_DEFINED ^ // In file included from om_render.c:26: ../../../build/include/pixrect/memvar.h:51:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif i386 ^ // ../../../build/include/pixrect/memvar.h:147:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:153:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/memvar.h:159:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif NEWPIXMEM ^ // ../../../build/include/pixrect/memvar.h:161:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !memvar_DEFINED ^ // In file included from om_render.c:30: In file included from ../../../build/include/xview/font.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from om_render.c:32: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from om_render.c:32: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // In file included from om_render.c:32: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:20: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from om_render.c:43: In file included from ../../../build/include/xview_private/om_impl.h:18: ../../../build/include/xview_private/omi_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TYPES_ ^ // ../../../build/include/xview_private/omi_impl.h:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixrect_DEFINED ^ // ../../../build/include/xview_private/omi_impl.h:90:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_image_impl_h_already_included ^ // In file included from om_render.c:43: ../../../build/include/xview_private/om_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:296:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_walkmenu_impl_h_already_included ^ // om_render.c:181:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(root_window, root_window_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:195:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gen_proc = menu->gen_proc) { ~~~~~~~~~^~~~~~~~~~~~~~~~ om_render.c:195:18: note: place parentheses around the assignment to silence this warning if (gen_proc = menu->gen_proc) { ^ ( ) om_render.c:195:18: note: use '==' to turn this assignment into an equality comparison if (gen_proc = menu->gen_proc) { ^ == om_render.c:197:15: warning: comparison between pointer and integer ('Menu' (aka 'unsigned long') and 'void *') if (gen_menu == NULL) { ~~~~~~~~ ^ ~~~~ om_render.c:234:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(group->client_window, client_window_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:287:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, menu_window_info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:345:13: warning: enumeration value 'MENU_COMMAND' not handled in switch [-Wswitch] switch (m->class) { ^ om_render.c:481:9: warning: implicit declaration of function 'window_set_tree_flag' is invalid in C99 [-Wimplicit-function-declaration] window_set_tree_flag(m->window, NULL, FALSE, TRUE); ^ om_render.c:485:9: warning: implicit declaration of function 'window_set_tree_flag' is invalid in C99 [-Wimplicit-function-declaration] window_set_tree_flag(m->window, NULL, FALSE, FALSE); ^ om_render.c:815:29: warning: '&&' within '||' [-Wlogical-op-parentheses] if (match_char >= 'A' && match_char <= 'Z' || ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ~~ om_render.c:815:29: note: place parentheses around the '&&' expression to silence this warning if (match_char >= 'A' && match_char <= 'Z' || ^ ( ) om_render.c:816:23: warning: '&&' within '||' [-Wlogical-op-parentheses] match_char >= 0xC0 && match_char <= 0xDE) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ om_render.c:816:23: note: place parentheses around the '&&' expression to silence this warning match_char >= 0xC0 && match_char <= 0xDE) ^ ( ) om_render.c:856:7: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:918:6: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:1009:48: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (m->item_list[newitem - 1]->toggle_on = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ om_render.c:1009:48: note: place parentheses around the assignment to silence this warning if (m->item_list[newitem - 1]->toggle_on = ^ ( om_render.c:1009:48: note: use '==' to turn this assignment into an equality comparison if (m->item_list[newitem - 1]->toggle_on = ^ == om_render.c:1156:3: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:1212:2: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(root_window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:1223:16: warning: incompatible pointer to integer conversion assigning to 'Xv_Window' (aka 'unsigned long') from 'void *' [-Wint-conversion] m->window = NULL; ^ ~~~~ om_render.c:1229:23: warning: incompatible pointer to integer conversion assigning to 'Xv_Window' (aka 'unsigned long') from 'void *' [-Wint-conversion] m->shadow_window = NULL; ^ ~~~~ om_render.c:1779:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gen_proc = mi->gen_pullright) { ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ om_render.c:1779:18: note: place parentheses around the assignment to silence this warning if (gen_proc = mi->gen_pullright) { ^ ( ) om_render.c:1779:18: note: use '==' to turn this assignment into an equality comparison if (gen_proc = mi->gen_pullright) { ^ == om_render.c:1836:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (gen_proc = mi->gen_pullright) ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ om_render.c:1836:18: note: place parentheses around the assignment to silence this warning if (gen_proc = mi->gen_pullright) ^ ( ) om_render.c:1836:18: note: use '==' to turn this assignment into an equality comparison if (gen_proc = mi->gen_pullright) ^ == om_render.c:1847:13: warning: enumeration value 'MENU_STATUS_BUSY' not handled in switch [-Wswitch] switch (m->status) { ^ om_render.c:1917:19: warning: comparison between pointer and integer ('Xv_Window' (aka 'unsigned long') and 'void *') if (m->window == NULL) ~~~~~~~~~ ^ ~~~~ om_render.c:1920:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(m->window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:2343:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:2481:5: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] DRAWABLE_INFO_MACRO(window, info); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview_private/draw_impl.h:91:7: note: expanded from macro 'DRAWABLE_INFO_MACRO' XV_OBJECT_TO_STANDARD(_win_public, xv_draw_info_str, _object);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../build/include/xview/pkg_public.h:81:18: note: expanded from macro 'XV_OBJECT_TO_STANDARD' xv_error(NULL, ERROR_INVALID_OBJECT,xv_notptr_str,\ ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:2499:15: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ om_render.c:2660:13: warning: incompatible pointer to integer conversion assigning to 'int' from 'void *' [-Wint-conversion] help_item = NULL; /* inside the menu, but not no menu items */ ^ ~~~~ om_render.c:2696:6: warning: implicit declaration of function 'xv_help_save_image' is invalid in C99 [-Wimplicit-function-declaration] xv_help_save_image(m->window, client_width, client_height, ^ om_render.c:2702:9: warning: implicit declaration of function 'xv_help_render' is invalid in C99 [-Wimplicit-function-declaration] xv_help_render(client_window, help_data, event); ^ om_render.c:2742:37: warning: '&&' within '||' [-Wlogical-op-parentheses] if (event_action(event) >= 'A' && event_action(event) <= 'Z' || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ om_render.c:2742:37: note: place parentheses around the '&&' expression to silence this warning if (event_action(event) >= 'A' && event_action(event) <= 'Z' || ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_render.c:2743:31: warning: '&&' within '||' [-Wlogical-op-parentheses] event_action(event) >= 0xC0 && event_action(event) <= 0xDE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_render.c:2743:31: note: place parentheses around the '&&' expression to silence this warning event_action(event) >= 0xC0 && event_action(event) <= 0xDE) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 64 warnings generated. cp om_render.o shared/om_render.o rm -f om_set.o shared/om_set.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_set.c In file included from om_set.c:16: In file included from ../../../build/include/xview_private/om_impl.h:12: In file included from ../../../build/include/xview/openmenu.h:17: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from om_set.c:16: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from om_set.c:16: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from om_set.c:16: In file included from ../../../build/include/xview_private/om_impl.h:18: ../../../build/include/xview_private/omi_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TYPES_ ^ // ../../../build/include/xview_private/omi_impl.h:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixrect_DEFINED ^ // ../../../build/include/xview_private/omi_impl.h:90:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_image_impl_h_already_included ^ // In file included from om_set.c:16: ../../../build/include/xview_private/om_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:296:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_walkmenu_impl_h_already_included ^ // In file included from om_set.c:18: ../../../build/include/xview_private/fm_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif SVR4 ^ // ../../../build/include/xview_private/fm_impl.h:30:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif FILE ^ // In file included from om_set.c:18: In file included from ../../../build/include/xview_private/fm_impl.h:45: ../../../build/include/xview_private/wmgr_decor.h:62:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsOut ^ // ../../../build/include/xview_private/wmgr_decor.h:65:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif WMPushpinIsIn ^ // ../../../build/include/xview_private/wmgr_decor.h:71:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _wmgr_decor_h_already_included ^ // In file included from om_set.c:21: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:18: ../../../build/include/pixrect/pr_line.h:50:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pr_line_h_DEFINED ^ // In file included from om_set.c:21: In file included from ../../../build/include/xview/panel.h:18: In file included from ../../../build/include/xview/canvas.h:18: In file included from ../../../build/include/xview/pixwin.h:19: ../../../build/include/pixrect/traprop.h:26:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif traprop_DEFINED ^ // om_set.c:443:10: warning: implicit declaration of function 'compute_item_size' is invalid in C99 [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^ om_set.c:466:10: warning: implicit declaration of function 'compute_item_size' is invalid in C99 [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^ om_set.c:481:10: warning: implicit declaration of function 'compute_item_size' is invalid in C99 [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^ om_set.c:497:10: warning: implicit declaration of function 'compute_item_size' is invalid in C99 [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^ om_set.c:573:51: warning: unsequenced modification and access to 'a' [-Wunsequenced] *a++, *a++, 0)); ^ ../../../build/include/xview_private/om_impl.h:49:46: note: expanded from macro 'MENU_ITEM_PRIVATE' XV_PRIVATE(Xv_menu_item_info, Xv_menu_item, menu_item) ^~~~~~~~~ ../../../build/include/xview/pkg.h:54:37: note: expanded from macro 'XV_PRIVATE' ((private_type *)((public_type *) (obj))->private_data) ^~~ om_set.c:665:9: warning: implicit declaration of function 'compute_item_size' is invalid in C99 [-Wimplicit-function-declaration] compute_item_size( m, std_image, &status, TRUE); ^ om_set.c:1470:13: warning: implicit declaration of function 'window_set_tree_flag' is invalid in C99 [-Wimplicit-function-declaration] window_set_tree_flag(m->pin_window, NULL, FALSE, TRUE); ^ om_set.c:1948:13: warning: address of array 'key_str' will always evaluate to 'true' [-Wpointer-bool-conversion] if (key_str && strlen(key_str)) { ^~~~~~~ ~~ 36 warnings generated. cp om_set.o shared/om_set.o rm -f om_get.o shared/om_get.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_get.c In file included from om_get.c:17: In file included from ../../../build/include/xview/server.h:18: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from om_get.c:18: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from om_get.c:18: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from om_get.c:18: In file included from ../../../build/include/xview_private/om_impl.h:18: ../../../build/include/xview_private/omi_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TYPES_ ^ // ../../../build/include/xview_private/omi_impl.h:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixrect_DEFINED ^ // ../../../build/include/xview_private/omi_impl.h:90:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_image_impl_h_already_included ^ // In file included from om_get.c:18: ../../../build/include/xview_private/om_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:296:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_walkmenu_impl_h_already_included ^ // om_get.c:42:21: warning: incompatible pointer to integer conversion initializing 'Xv_opaque' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] Xv_opaque v = NULL; ^ ~~~~ om_get.c:71:4: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] v = NULL; ^ ~~~~ om_get.c:112:20: warning: pointer/integer type mismatch in conditional expression ('Xv_opaque' (aka 'unsigned long') and 'void *') [-Wconditional-type-mismatch] v = m->group_info ? (Xv_opaque) & m->group_info->first_event : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ om_get.c:112:4: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] v = m->group_info ? (Xv_opaque) & m->group_info->first_event : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_get.c:116:20: warning: pointer/integer type mismatch in conditional expression ('Xv_opaque' (aka 'unsigned long') and 'void *') [-Wconditional-type-mismatch] v = m->group_info ? (Xv_opaque) & m->group_info->last_event : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ om_get.c:116:4: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] v = m->group_info ? (Xv_opaque) & m->group_info->last_event : NULL; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ om_get.c:201:21: warning: incompatible pointer to integer conversion initializing 'Xv_opaque' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] Xv_opaque v = NULL; ^ ~~~~ om_get.c:215:4: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] v = NULL; ^ ~~~~ 29 warnings generated. cp om_get.o shared/om_get.o rm -f om_compat.o shared/om_compat.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_compat.c In file included from om_compat.c:19: In file included from ../../../build/include/xview_private/om_impl.h:12: In file included from ../../../build/include/xview/openmenu.h:17: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ In file included from om_compat.c:19: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:22: ../../../build/include/pixrect/pixrect.h:104:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:121:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:125:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:129:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:132:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif KERNEL ^ // ../../../build/include/pixrect/pixrect.h:172:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // ../../../build/include/pixrect/pixrect.h:174:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:189:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixrect.h:280:7: warning: extra tokens at end of #else directive [-Wextra-tokens] #else !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:299:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !lint || KERNEL ^ // ../../../build/include/pixrect/pixrect.h:332:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif !KERNEL ^ // In file included from om_compat.c:19: In file included from ../../../build/include/xview_private/om_impl.h:16: In file included from ../../../build/include/xview/svrimage.h:23: ../../../build/include/pixrect/pixfont.h:46:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // ../../../build/include/pixrect/pixfont.h:56:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixfont_DEFINED ^ // In file included from om_compat.c:19: In file included from ../../../build/include/xview_private/om_impl.h:18: ../../../build/include/xview_private/omi_impl.h:18:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _TYPES_ ^ // ../../../build/include/xview_private/omi_impl.h:20:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif pixrect_DEFINED ^ // ../../../build/include/xview_private/omi_impl.h:90:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_image_impl_h_already_included ^ // In file included from om_compat.c:19: ../../../build/include/xview_private/om_impl.h:25:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:194:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // ../../../build/include/xview_private/om_impl.h:296:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif _xview_walkmenu_impl_h_already_included ^ // om_compat.c:45:19: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] avlist[0] = NULL; ^ ~~~~ om_compat.c:47:36: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] menu = (Menu) xv_create_avlist(NULL, MENU, avlist); ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/pkg.h:95:57: note: passing argument to parameter 'parent' here EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ^ om_compat.c:70:19: warning: incompatible pointer to integer conversion assigning to 'Attr_attribute' (aka 'unsigned long') from 'void *' [-Wint-conversion] avlist[0] = NULL; ^ ~~~~ om_compat.c:72:41: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_opaque' (aka 'unsigned long') [-Wint-conversion] return (Menu_item) xv_create_avlist(NULL, MENUITEM, avlist); ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/pkg.h:95:57: note: passing argument to parameter 'parent' here EXTERN_FUNCTION (Xv_object xv_create_avlist, (Xv_opaque parent, Xv_pkg *pkg, Attr_attribute *avlist)); ^ 25 warnings generated. cp om_compat.o shared/om_compat.o + cp shared/omi.o ../../libxview/xshared + cp shared/omi.o . + cp shared/om_public.o ../../libxview/xshared + cp shared/om_public.o . + cp shared/om_render.o ../../libxview/xshared + cp shared/om_render.o . + cp shared/om_set.o ../../libxview/xshared + cp shared/om_set.o . + cp shared/om_get.o ../../libxview/xshared + cp shared/om_get.o . + cp shared/om_compat.o ../../libxview/xshared + cp shared/om_compat.o . rm -f om_data.o shared/om_data.o clang -fPIC -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_data.c In file included from om_data.c:13: In file included from ../../../build/include/xview/openmenu.h:17: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. cp om_data.o shared/om_data.o clang -c -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB om_data.c In file included from om_data.c:13: In file included from ../../../build/include/xview/openmenu.h:17: In file included from ../../../build/include/xview/generic.h:39: In file included from ../../../build/include/xview/pkg_public.h:19: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ 2 warnings generated. + cp ./om_data.o ../../libxview/xunshared + cp shared/om_data.o ../../libxview/xshared ar ruv ../../libxview/libxview.a omi.o om_public.o om_render.o om_set.o om_get.o om_compat.o om_data.o a - omi.o a - om_public.o a - om_render.o a - om_set.o a - om_get.o a - om_compat.o a - om_data.o making all in lib/libxview/misc... rm -f demorandom.o shared/demorandom.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB demorandom.c demorandom.c:37:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] demo_random() ^ demorandom.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xv_initrandom(r) ^ demorandom.c:53:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register i; ~~~~~~~~ ^ demorandom.c:56:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ demorandom.c:58:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xv_random(i, j) ^ demorandom.c:68:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register a; ~~~~~~~~ ^ demorandom.c:67:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] xv_sqroot(a) ^ demorandom.c:70:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register x, y; ~~~~~~~~ ^ demorandom.c:70:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register x, y; ~~~~~~~~ ^ 9 warnings generated. cp demorandom.o shared/demorandom.o rm -f getlogindr.o shared/getlogindr.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB getlogindr.c In file included from getlogindr.c:21: In file included from ../../../build/include/xview_private/i18n_impl.h:12: In file included from ../../../build/include/xview/pkg.h:27: ../../../build/include/xview/notify.h:226:93: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_default_wait3, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ ../../../build/include/xview/notify.h:312:95: warning: declaration of 'union wait' will not be visible outside of this function [-Wvisibility] EXTERN_FUNCTION (Notify_value notify_next_wait3_func, (Notify_client nclient, int pid, union wait *status, struct rusage *rusage)); ^ getlogindr.c:37:23: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] passwdent = getpwuid(getuid()); ^ getlogindr.c:41:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ getlogindr.c:48:11: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Xv_object' (aka 'unsigned long') [-Wint-conversion] xv_error(NULL, ^~~~ /usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ ../../../build/include/xview/xv_error.h:86:43: note: passing argument to parameter 'object' here EXTERN_FUNCTION (int xv_error, (Xv_object object, DOTDOTDOT)); ^ 5 warnings generated. cp getlogindr.o shared/getlogindr.o rm -f expandname.o shared/expandname.o clang -c -fPIC -O -I../../../build/include -I/usr/pkg/include -DCSRG_BASED -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO -DOS_HAS_LOCALE -DDYNAMICLIB expandname.c expandname.c:24:10: fatal error: 'sgtty.h' file not found #include ^~~~~~~~~ 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /var/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6/lib/libxview/misc *** Error code 1 Stop. bmake[2]: stopped in /var/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6/lib/libxview *** Error code 1 Stop. bmake[1]: stopped in /var/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6/lib *** Error code 1 Stop. bmake: stopped in /var/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6 *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/x11/xview-lib *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xview-lib