=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xview-lib-3.2.1nb9 making all in ./lib... making all in lib/libolgx... rm -f ol_button.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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: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); ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 8 warnings generated. rm -f ol_color.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED ol_color.c rm -f ol_draw.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED ol_draw.c rm -f ol_init.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED ol_init.c 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; ^ ~~~~ 3 warnings generated. rm -f ol_misc.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED ol_misc.c rm -f ol_sb.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED ol_sb.c rm -f ol_slider.o cc -c -O -I../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED ol_slider.c ol_slider.c:98:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register y_slider_offset; ~~~~~~~~ ^ ol_slider.c:833:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register left_offset; ~~~~~~~~ ^ 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:1132:21: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register left_offset; ~~~~~~~~ ^ 5 warnings generated. 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 /usr/bin/ar: creating ./libolgx.a a - ol_button.o a - ol_color.o a - ol_draw.o a - ol_init.o a - ol_misc.o a - ol_sb.o a - ol_slider.o making all in lib/libxview... making all in lib/libxview/attr... rm -f attr.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED attr.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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++) ^ == 17 warnings generated. rm -f attr_copy.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED attr_copy.c rm -f attr_cu.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED attr_cu.c 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++) { ^ == 2 warnings generated. rm -f attr_cust.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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:13: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)) { ^ == 19 warnings generated. rm -f attr_util.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED attr_util.c ar ruv ../../libxview/libxview.a attr.o attr_copy.o attr_cu.o attr_cust.o attr_util.o /usr/bin/ar: 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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: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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 16 warnings generated. rm -f xv_init.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv_init.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 40 warnings generated. rm -f xv_init_x.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // ../../../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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 6 warnings generated. rm -f generic.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED generic.c 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: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: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)) { ^ == 18 warnings generated. rm -f drawable.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED drawable.c 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)); ^ 3 warnings generated. rm -f xv_debug.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv_debug.c 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] } ^ 7 warnings generated. rm -f xv_parse.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv_parse.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 19 warnings generated. rm -f xv_list.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv_list.c 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 ^ // 1 warning generated. rm -f xv_error.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv_error.c rm -f base_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED base_data.c rm -f xv_usage.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED xv_usage.c 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: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: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: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: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: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: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)) ^~~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED canvas.c 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 ^ // 16 warnings generated. rm -f cnvs_set.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_set.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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); ^ 30 warnings generated. rm -f cnvs_get.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_get.c 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) { ~~~~~~~~~~~~ ^ ~~~~ 17 warnings generated. rm -f cnvs_scrol.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_scrol.c 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) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 16 warnings generated. rm -f cnvs_resze.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_resze.c 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) { \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ 17 warnings generated. rm -f cnvs_view.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_view.c 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) { ~~ ^ ~~~~ 24 warnings generated. rm -f cnvs_input.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_input.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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)) { ^ == 29 warnings generated. rm -f cnvs_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cnvs_data.c 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 ^ // 15 warnings generated. 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cms.c 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: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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 3 warnings generated. rm -f cms_pblc.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cms_pblc.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ cms_pblc.c:328:21: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] } else if (index < 0) { ~~~~~ ^ ~ 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:405:12: warning: incompatible pointer to integer conversion assigning to 'Xv_opaque' (aka 'unsigned long') from 'void *' [-Wint-conversion] value = NULL; ^ ~~~~ 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); ^~~~~~ 14 warnings generated. rm -f cms_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cms_data.c 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cursor.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 22 warnings generated. rm -f curs_pri.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED curs_pri.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 21 warnings generated. rm -f cur_rodata.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED cur_rodata.c 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 ^ // 16 warnings generated. rm -f curs_cmpat.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED curs_cmpat.c 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; ^ ~~~~ 17 warnings generated. rm -f curs_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED curs_data.c 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 ^ // 16 warnings generated. 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED defaults.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 4 warnings generated. ar ruv ../../libxview/libxview.a defaults.o a - defaults.o making all in lib/libxview/dnd... rm -f dnd.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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: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: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, \ ^ ~~~~ 40 warnings generated. rm -f dnd_decode.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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, ^ 31 warnings generated. rm -f dnd_dsdm.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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:17: ../../../build/include/xview_private/dndimpl.h:115:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif ~xview_dndimpl_DEFINED ^ // 28 warnings generated. rm -f dnd_pblc.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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; ^ ~~~~ 30 warnings generated. rm -f dndutil.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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] } ^ 31 warnings generated. rm -f site.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED site.c 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))) ^ == 25 warnings generated. rm -f site_pblc.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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; ^ ~~~~ 34 warnings generated. rm -f dnd_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED dnd_data.c 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 ^ // 1 warning generated. rm -f site_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED site_data.c 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 ^ // 2 warnings generated. 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 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); ^ 33 warnings generated. rm -f fc_layout.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 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 ); ~~~~~~~~~~~~~~~~~~~~ ^ 28 warnings generated. rm -f file_list.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 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:1200:4: warning: implicit declaration of function 'compile' is invalid in C99 [-Wimplicit-function-declaration] = compile( private->regex_pattern, ^ file_list.c:1200:2: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] = compile( private->regex_pattern, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_list.c:1230:12: warning: implicit declaration of function 'step' is invalid in C99 [-Wimplicit-function-declaration] return step(s, private->regex_compile); ^ 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); ^ 36 warnings generated. rm -f path.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 27 warnings generated. rm -f xv_path_util.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 28 warnings generated. rm -f hist_list.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 27 warnings generated. rm -f hist_menu.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 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:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 28 warnings generated. rm -f fchsr_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 27 warnings generated. rm -f flist_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 27 warnings generated. rm -f path_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 27 warnings generated. rm -f hist_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 27 warnings generated. 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED filter.c 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ 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:13: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)); ^ ../../../build/include/xview/xv_c_types.h:142:45: note: expanded from macro 'EXTERN_FUNCTION' # define EXTERN_FUNCTION( rtn, args ) rtn args ^ filter.c:251:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] any_shell_meta(s) ^ 8 warnings generated. ar ruv ../../libxview/libxview.a filter.o a - filter.o making all in lib/libxview/font... rm -f font.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // ../../../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:1259: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:1428: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:1428: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:1428: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:1559:7: warning: implicit declaration of function 'xv_mem_destroy' is invalid in C99 [-Wimplicit-function-declaration] xv_mem_destroy(pfc->pc_pr); ^ font.c:2781: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:2781: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:2781: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:2856:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:3436:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:3460:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif OW_I18N ^ // font.c:3459:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:3872:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4161: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:4422:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4430:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4438:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ font.c:4511:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 32 warnings generated. rm -f font_set.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED font_set.c 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 ^ // 13 warnings generated. rm -f font_get.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED font_get.c 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 ^ 15 warnings generated. rm -f font_x.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED font_x.c 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 ^ // 11 warnings generated. rm -f pf_text.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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] } ^ 30 warnings generated. rm -f pf_ttext.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 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) ^ == 14 warnings generated. rm -f pf.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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 ^ // 13 warnings generated. rm -f font_data.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED font_data.c 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 ^ // 13 warnings generated. 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 cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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: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))) { ^ 26 warnings generated. rm -f frame_init.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED frame_init.c 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); ^ 28 warnings generated. rm -f fm_get.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED 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: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: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:13: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:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 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:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ 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:557:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[0] = XKeycodeToKeysym(dpy, keycode, 0); ^ /usr/pkgsrc/work/x11/xview-lib/work/.buildlink/include/X11/Xlib.h:1699:15: note: 'XKeycodeToKeysym' declared here extern KeySym XKeycodeToKeysym( ^ fm_get.c:569:21: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] keysymlist[1] = XKeycodeToKeysym(dpy, keycode, 1); ^ /usr/pkgsrc/work/x11/xview-lib/work/.buildlink/include/X11/Xlib.h:1699:15: note: 'XKeycodeToKeysym' declared here extern KeySym XKeycodeToKeysym( ^ 25 warnings generated. rm -f fm_set.o cc -c -O -I../../../build/include -I/usr/pkg/include -I /usr/X11R7/include -DNO_CAST_VATOAV -DFULL_R5 -I/include -DSUNOS41 -DX11R6 -DOS_HAS_LOCALE -DOPTIMIZED fm_set.c 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:16: ../../../build/include/xview/sel_svc.h:26:10: fatal error: 'rpc/rpc.h' file not found #include ^ 21 warnings and 1 error generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6/lib/libxview/frame *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6/lib/libxview *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6/lib *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/x11/xview-lib/work/xview3.2p1-X11R6 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xview-lib *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/xview-lib