|
|
Line 9: |
Line 9: |
|
| |
|
| no warnings besides a bunch of ffmpeg related things that are not listed here (we dont fix them) | | no warnings besides a bunch of ffmpeg related things that are not listed here (we dont fix them) |
|
| |
|
| |
| * compyx (x64, Windows 10/msys2, GCC 7.3.0, SDL2) (r35061)
| |
| :: Quite a few warnings after updating msys64, resulting in upgrading GCC from 7.3.0 to 8.2.0, though we can probably ignore the warnings about VTE.
| |
|
| |
| <pre>
| |
| In file included from ../../../../vice/src/arch/sdl/archdep.c:54:0:
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c: In function 'kbd_arch_get_host_mapping':
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c:781:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
| |
| int lang = (int)GetKeyboardLayout(0);
| |
| ^
| |
| At top level:
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c:224:13: warning: 'system_wcstombs_free' defined but not used [-Wunused-function]
| |
| static void system_wcstombs_free(char *mbs)
| |
| ^22:48, 18 June 2018 (CEST)22:48, 18 June 2018 (CEST)22:48, 18 June 2018 (CEST)[[User:Compyx|Compyx]] ([[User talk:Compyx|talk]]) 22:48, 18 June 2018 (CEST)
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c:210:14: warning: 'system_wcstombs_alloc' defined but not used [-Wunused-function]
| |
| static char *system_wcstombs_alloc(const char *wcs)
| |
| ^22:48, 18 June 2018 (CEST)22:48, 18 June 2018 (CEST)22:48, 18 June 2018 (CEST)22:48, 18 June 2018 (CEST)
| |
| ../../../../vice/src/arch/sdl/menu_c64cart.c: In function 'makegroup':
| |
| ../../../../vice/src/arch/sdl/menu_c64cart.c:87:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| |
| ui_c64cart_entry.data = (ui_callback_data_t)(unsigned long)cartlist->crtid;
| |
| ^
| |
| In file included from ../../../../vice/src/arch/sdl/menu_midi.c:35:0:
| |
| ../../../../vice/src/arch/sdl/menu_midi.c:161:18: warning: no previous prototype for 'MIDIInDev_dynmenu_callback' [-Wmissing-prototypes]
| |
| UI_MENU_CALLBACK(MIDIInDev_dynmenu_callback)
| |
| ^
| |
| ../../../../vice/src/arch/sdl/menu_common.h:62:17: note: in definition of macro 'UI_MENU_CALLBACK'
| |
| const char *name(int activated, ui_callback_data_t param)
| |
| ^[[User:Compyx|Compyx]] ([[User talk:Compyx|talk]])
| |
| ../../../../vice/src/arch/sdl/menu_midi.c: In function 'MIDIInDev_dynmenu_callback':
| |
| ../../../../vice/src/arch/sdl/menu_midi.c:189:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| |
| midi_in_dyn_menu[i].data = (ui_callback_data_t)j;
| |
| ^
| |
| In file included from ../../../../vice/src/arch/sdl/menu_midi.c:35:0:
| |
| ../../../../vice/src/arch/sdl/menu_midi.c: At top level:
| |
| ../../../../vice/src/arch/sdl/menu_midi.c:203:18: warning: no previous prototype for 'MIDIOutDev_dynmenu_callback' [-Wmissing-prototypes]
| |
| UI_MENU_CALLBACK(MIDIOutDev_dynmenu_callback)
| |
| ^
| |
| ../../../../vice/src/arch/sdl/menu_common.h:62:17: note: in definition of macro 'UI_MENU_CALLBACK'
| |
| const char *name(int activated, ui_callback_data_t param)
| |
| ^[[User:Compyx|Compyx]] ([[User talk:Compyx|talk]])
| |
| ../../../../vice/src/arch/sdl/menu_midi.c: In function 'MIDIOutDev_dynmenu_callback':
| |
| ../../../../vice/src/arch/sdl/menu_midi.c:231:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| |
| midi_out_dyn_menu[i].data = (ui_callback_data_t)j;
| |
| ^
| |
| ../../../../vice/src/arch/sdl/menu_settings.c: In function 'uikeyboard_menu_create':
| |
| ../../../../vice/src/arch/sdl/menu_settings.c:179:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
| |
| ui_keyboard_mapping_entry.data = (ui_callback_data_t)(unsigned long)kbdlist->mapping;
| |
| ^
| |
| </pre>
| |
|
| |
|
| |
| * compyx (x64, Windows 10/msys2, GCC 8.2.0, Gtk3) (r35433)
| |
|
| |
| <pre>
| |
| Making all in hwsiddrv
| |
| ../../../vice/src/hwsiddrv/ps-win32-dll.c: In function 'parsid_GetAddressLptPortInTheRegistry':
| |
| ../../../vice/src/hwsiddrv/ps-win32-dll.c:243:26: warning: '%d' directive writing 1 byte into a region of size between 0 and 254 [-Wformat-overflow=]
| |
| sprintf(myData, "%s\\%d", myKey, myPort - 1);
| |
| ^~
| |
| ../../../vice/src/hwsiddrv/ps-win32-dll.c:243:21: note: directive argument in the range [0, 2]
| |
| sprintf(myData, "%s\\%d", myKey, myPort - 1);
| |
| ^~~~~~~~
| |
| ../../../vice/src/hwsiddrv/ps-win32-dll.c:243:5: note: 'sprintf' output between 3 and 257 bytes into a destination of size 255
| |
| sprintf(myData, "%s\\%d", myKey, myPort - 1);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ../../../vice/src/hwsiddrv/ps-win32-io.c: In function 'parsid_GetAddressLptPortInTheRegistry':
| |
| ../../../vice/src/hwsiddrv/ps-win32-io.c:207:26: warning: '%d' directive writing 1 byte into a region of size between 0 and 254 [-Wformat-overflow=]
| |
| sprintf(myData, "%s\\%d", myKey, myPort - 1);
| |
| ^~
| |
| ../../../vice/src/hwsiddrv/ps-win32-io.c:207:21: note: directive argument in the range [0, 2]
| |
| sprintf(myData, "%s\\%d", myKey, myPort - 1);
| |
| ^~~~~~~~
| |
| ../../../vice/src/hwsiddrv/ps-win32-io.c:207:5: note: 'sprintf' output between 3 and 257 bytes into a destination of size 255
| |
| sprintf(myData, "%s\\%d", myKey, myPort - 1);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
|
| |
|
| |
|
| |
| Making all in cart
| |
| ../../../../vice/src/c64/cart/crt.c: In function 'crt_open':
| |
| ../../../../vice/src/c64/cart/crt.c:160:9: warning: 'strncpy' output may be truncated copying 32 bytes from a string of length 63 [-Wstringop-truncation]
| |
| strncpy(header->name, (char*)&crt_header[0x20], sizeof(header->name) - 1);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ../../../../vice/src/c64/cart/crt.c: In function 'crt_create':
| |
| ../../../../vice/src/c64/cart/crt.c:289:5: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
| |
| strncpy((char*)&crt_header[0x20], name, sizeof(crt_header) - 0x20);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| Making all in scpu64
| |
| In file included from ../../../vice/src/scpu64/../main65816cpu.c:341,
| |
| from ../../../vice/src/scpu64/scpu64cpu.c:431:
| |
| ../../../vice/src/scpu64/../main65816cpu.c: In function 'maincpu_mainloop':
| |
| ../../../vice/src/scpu64/../65816core.c:3648:39: warning: 'p3' may be used uninitialized in this function [-Wmaybe-uninitialized]
| |
| uint8_t bk = (uint8_t)(p3 >> 16);
| |
| ~~~~^~~~~~
| |
| ../../../vice/src/scpu64/../65816core.c:2554:34: note: 'p3' was declared here
| |
| unsigned int p0, p1, p2, p3;
| |
| ^~
| |
| ../../../vice/src/scpu64/../65816core.c:3647:39: warning: 'p2' may be used uninitialized in this function [-Wmaybe-uninitialized]
| |
| uint8_t hi = (uint8_t)(p2 >> 8);
| |
| ~~~~^~~~~
| |
| ../../../vice/src/scpu64/../65816core.c:2554:30: note: 'p2' was declared here
| |
| unsigned int p0, p1, p2, p3;
| |
| ^~
| |
| ../../../vice/src/scpu64/../65816core.c:3650:13: warning: 'p1' may be used uninitialized in this function [-Wmaybe-uninitialized]
| |
| debug_main65816cpu((uint32_t)(debug_pc), debug_clk,
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| mon_disassemble_to_string(e_comp_space,
| |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| debug_pc, op,
| |
| ~~~~~~~~~~~~~
| |
| lo, hi, bk, 1, "65816"),
| |
| ~~~~~~~~~~~~~~~~~~~~~~~~
| |
| debug_c, debug_x, debug_y, debug_sp, debug_pbr);
| |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ../../../vice/src/scpu64/../65816core.c:2554:26: note: 'p1' was declared here
| |
| unsigned int p0, p1, p2, p3;
| |
| ^~
| |
|
| |
|
| |
|
| |
| Making all in novte
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/keymap.cc:26:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/keymap.cc:26:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:25,
| |
| from ../../../../../vice/src/arch/gtk3/novte/novte.h:28,
| |
| from ../../../../../vice/src/arch/gtk3/novte/ring.h:27,
| |
| from ../../../../../vice/src/arch/gtk3/novte/ring.cc:24:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:25,
| |
| from ../../../../../vice/src/arch/gtk3/novte/novte.h:28,
| |
| from ../../../../../vice/src/arch/gtk3/novte/ring.h:27,
| |
| from ../../../../../vice/src/arch/gtk3/novte/ring.cc:24:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:25,
| |
| from ../../../../../vice/src/arch/gtk3/novte/novte.h:28,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vte.cc:35:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:25,
| |
| from ../../../../../vice/src/arch/gtk3/novte/novte.h:28,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vte.cc:35:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteaccess.cc:32:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteaccess.cc:32:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vtedraw.cc:33:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vtedraw.cc:33:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vtegtk.cc:44:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vtegtk.cc:44:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:100,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:25,
| |
| from ../../../../../vice/src/arch/gtk3/novte/novte.h:28,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteseq.cc:33:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:66:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:67:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:68:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/gtkfilechooserbutton.h:69:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
| In file included from C:/msys64/mingw64/include/gtk-3.0/gtk/gtk.h:271,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:25,
| |
| from ../../../../../vice/src/arch/gtk3/novte/novte.h:28,
| |
| from ../../../../../vice/src/arch/gtk3/novte/vteseq.cc:33:
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:74:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses]
| |
| void (*__gtk_reserved1);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:75:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses]
| |
| void (*__gtk_reserved2);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses]
| |
| void (*__gtk_reserved3);
| |
| ^
| |
| C:/msys64/mingw64/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses]
| |
| void (*__gtk_reserved4);
| |
| ^
| |
|
| |
|
| |
|
| |
| ../../../../vice/src/arch/gtk3/uinetplay.c: In function 'netplay_update_resources':
| |
| ../../../../vice/src/arch/gtk3/uinetplay.c:119:5: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation]
| |
| strncpy(p, gtk_entry_get_text(GTK_ENTRY(np_port)), 256);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
|
| |
|
| |
|
| |
| Making all in hvsc
| |
| ../../vice/src/debug.c: In function 'debug_maincpu':
| |
| ../../vice/src/debug.c:453:46: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
| |
| int line_len = sprintf(tempstr, "%s\n", st);
| |
| ^
| |
| ../../vice/src/debug.c:453:24: note: 'sprintf' output between 2 and 129 bytes into a destination of size 128
| |
| int line_len = sprintf(tempstr, "%s\n", st);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ../../vice/src/debug.c: In function 'debug_main65816cpu':
| |
| ../../vice/src/debug.c:453:46: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
| |
| int line_len = sprintf(tempstr, "%s\n", st);
| |
| ^
| |
| ../../vice/src/debug.c:453:24: note: 'sprintf' output between 2 and 129 bytes into a destination of size 128
| |
| int line_len = sprintf(tempstr, "%s\n", st);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ../../vice/src/debug.c: In function 'debug_drive':
| |
| ../../vice/src/debug.c:453:46: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
| |
| int line_len = sprintf(tempstr, "%s\n", st);
| |
| ^
| |
| ../../vice/src/debug.c:453:24: note: 'sprintf' output between 2 and 129 bytes into a destination of size 128
| |
| int line_len = sprintf(tempstr, "%s\n", st);
| |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| ../../vice/src/util.c: In function 'util_add_extension_maxpath':
| |
| ../../vice/src/util.c:1431:5: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict]
| |
| sprintf(name, "%s%c%s", name, FSDEV_EXT_SEP_CHR, extension);
| |
| ^~~~~~~
| |
| </pre>
| |
|
| |
|
| |
| * compyx (x64, Windows 10/msys2, GCC 8.2.0, SDL2) (r35435)
| |
|
| |
| <pre>
| |
| Making all in sdl
| |
| In file included from ../../../../vice/src/arch/sdl/archdep.c:54:
| |
| In function 'system_mbstowcs',
| |
| inlined from 'system_mbstowcs_alloc' at ../../../../vice/src/arch/sdl/archdep_win32.c:197:5,
| |
| inlined from 'archdep_default_logger' at ../../../../vice/src/arch/sdl/archdep_win32.c:401:14:
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c:184:5: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
| |
| strncpy(wcs, mbs, len);
| |
| ^~~~~~~~~~~~~~~~~~~~~~
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c: In function 'archdep_default_logger':
| |
| ../../../../vice/src/arch/sdl/archdep_win32.c:197:31: note: length computed here
| |
| system_mbstowcs(wcs, mbs, strlen(mbs) + 1);
| |
| ^~~~~~~~~~~
| |
| </pre>
| |
|
| |
|
| == clang == | | == clang == |