Snippets for afterstep 2.2.12 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/afterstep/2.2.12_12/150arm64-default.log.
-
parse.c:939:163: warning: for loop has empty body [-Wempty-body] 939 | for (ptr = (char*)str + 1 ; *ptr && !isspace(*ptr) && *ptr != '+' && *ptr != '-' && *ptr != '*' && *ptr != '!' && *ptr != '/' && *ptr != ')' ; ptr++); | ^ -
regexp.c:105:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 105 | if ((c == (unsigned char)*(reserved++))) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xml.c:964:54: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 964 | else if( strncmp(ptr,"ˆ", c_len ) == 0 ) c = '<88>' ; | ^ -
xml.c:968:54: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 968 | else if( strncmp(ptr,"Ÿ", c_len ) == 0 ) c = '<9F>' ; | ^ -
xml.c:969:54: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 969 | else if( strncmp(ptr,"€", c_len ) == 0 ) c = '<80>' ; | ^ -
xml.c:975:50: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 975 | if( strncmp(ptr,"Œ", c_len ) == 0 ) c = '<8C>' ; | ^ -
xml.c:976:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 976 | else if( strncmp(ptr,"œ", c_len ) == 0 ) c = '<9C>' ; | ^ -
xml.c:977:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 977 | else if( strncmp(ptr,"˜", c_len ) == 0 ) c = '<98>' ; | ^ -
xml.c:978:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 978 | else if( strncmp(ptr,"–", c_len ) == 0 ) c = '<96>' ; | ^ -
xml.c:979:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 979 | else if( strncmp(ptr,"—", c_len ) == 0 ) c = '<97>' ; | ^ -
xml.c:980:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 980 | else if( strncmp(ptr,"‘", c_len ) == 0 ) c = '<91>' ; | ^ -
xml.c:981:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 981 | else if( strncmp(ptr,"’", c_len ) == 0 ) c = '<92>' ; | ^ -
xml.c:982:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 982 | else if( strncmp(ptr,"‚", c_len ) == 0 ) c = '<82>' ; | ^ -
xml.c:983:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 983 | else if( strncmp(ptr,"“", c_len ) == 0 ) c = '<93>' ; | ^ -
xml.c:984:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 984 | else if( strncmp(ptr,"”", c_len ) == 0 ) c = '<94>' ; | ^ -
xml.c:985:55: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 985 | else if( strncmp(ptr,"„", c_len ) == 0 ) c = '<84>' ; | ^ -
xml.c:990:51: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 990 | if( strncmp(ptr,"Š", c_len ) == 0 ) c = '<8A>' ; | ^ -
xml.c:991:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 991 | else if( strncmp(ptr,"š", c_len ) == 0 ) c = '<9A>' ; | ^ -
xml.c:993:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 993 | else if( strncmp(ptr,"†", c_len ) == 0 ) c = '<86>' ; | ^ -
xml.c:994:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 994 | else if( strncmp(ptr,"‡", c_len ) == 0 ) c = '<87>' ; | ^ -
xml.c:995:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 995 | else if( strncmp(ptr,"‰", c_len ) == 0 ) c = '<89>' ; | ^ -
xml.c:996:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 996 | else if( strncmp(ptr,"‹", c_len ) == 0 ) c = '<8B>' ; | ^ -
xml.c:997:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 997 | else if( strncmp(ptr,"›", c_len ) == 0 ) c = '<9B>' ; | ^ -
export.c:173:2: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] 173 | free( realfilename ); | ^ -
export.c:400:11: warning: implicitly declaring library function 'calloc' with type 'void *(unsigned long, unsigned long)' [-Wimplicit-function-declaration] 400 | curr = calloc(*size, 1); | ^ -
export.c:672:19: warning: implicitly declaring library function 'realloc' with type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration] 672 | buff->buffer = realloc( buff->buffer, buff->allocated_size ); | ^ -
export.c:1149:2: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 1149 | uint16 photometric = PHOTOMETRIC_RGB; | ^ -
export.c:1195:41: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 1195 | TIFFSetField(out, TIFFTAG_IMAGEWIDTH, (uint32) im->width); | ^ -
export.c:1196:42: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 1196 | TIFFSetField(out, TIFFTAG_IMAGELENGTH, (uint32) im->height); | ^ -
export.c:1201:6: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 1201 | uint16 v[1]; | ^ -
import.c:2315:7: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2315 | uint32* bc; | ^ -
import.c:2538:5: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 2538 | g_type_init(); | ^ -
import.c:2548:16: warning: 'rsvg_pixbuf_from_file_at_size' is deprecated [-Wdeprecated-declarations] 2548 | if( (pixbuf = rsvg_pixbuf_from_file_at_size( path, width, height, NULL)) == NULL ) | ^ -
functions.c:42:1: warning: non-void function does not return a value [-Wreturn-type] 42 | } | ^ -
moveresize.c:254:19: warning: while loop has empty body [-Wempty-body] 254 | SHOW_CHECKPOINT; | ^ -
mylook.c:473:18: warning: address of array 'ancestor->title_style_names' will always evaluate to 'true' [-Wpointer-bool-conversion] 473 | if (ancestor->title_style_names) | ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
mylook.c:476:18: warning: address of array 'ancestor->frame_style_names' will always evaluate to 'true' [-Wpointer-bool-conversion] 476 | if (ancestor->frame_style_names) | ~~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:34: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^ -
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^ -
asgtklookedit.c:379:54: warning: if statement has empty body [-Wempty-body] 379 | if (get_flags (self->flags, ASGTK_MYSTYLE_SLICED)) ; | ^ -
afterstep.c:778:9: warning: 109 enumeration values not handled in switch: 'F_NOP', 'F_TITLE', 'F_BEEP'... [-Wswitch] 778 | switch(kind) | ^~~~ -
dbus.c:245:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 245 | g_type_init(); | ^ -
./menus.h:98:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | MenuData *CreateMenuData(); | ^ -
Ident.c:92:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | Window make_ident_window(); | ^ -
WinList.c:979:37: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 979 | Bool dont_resize_main_canvas = (Bool)vdata ; | ^~~~~~~~~~~ -
WinList.c:1012:55: warning: comparison of array 'WinListState.window_order' not equal to a null pointer is always true [-Wtautological-pointer-compare] 1012 | if( WinListState.windows_num != 0 && WinListState.window_order != NULL ) | ~~~~~~~~~~~~~^~~~~~~~~~~~ ~~~~ -
WinList.c:1065:55: warning: comparison of array 'WinListState.window_order' equal to a null pointer is always false [-Wtautological-pointer-compare] 1065 | if( WinListState.windows_num == 0 || WinListState.window_order == NULL ) | ~~~~~~~~~~~~~^~~~~~~~~~~~ ~~~~ -
ASDocGen.c:896:42: warning: passing 'ASHashableValue *' (aka 'const unsigned long *') to parameter of type 'ASHashableValueBase *' (aka 'unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 896 | items_num = sort_hash_items (Glossary, values, (void**)data, 0); | ^~~~~~ -
ASDocGen.c:949:9: warning: passing 'ASHashableValue *' (aka 'const unsigned long *') to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 949 | free( values ); | ^~~~~~ -
ASDocGen.c:971:39: warning: passing 'ASHashableValue *' (aka 'const unsigned long *') to parameter of type 'ASHashableValueBase *' (aka 'unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 971 | items_num = sort_hash_items (Index, values, (void**)data, 0); | ^~~~~~ -
ASDocGen.c:1044:9: warning: passing 'ASHashableValue *' (aka 'const unsigned long *') to parameter of type 'void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1044 | free( values ); | ^~~~~~ -
main.c:279:12: warning: Deprecated pre-processor symbol [-W#pragma-messages] 279 | G_VOLUME_IDENTIFIER_KIND_HAL_UDI); | ^ -
main.c:1241:2: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 1241 | g_type_init(); | ^ -
main.c:1480:2: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 1480 | g_type_init(); | ^