Warnings: Difference between revisions
Jump to navigation
Jump to search
(→GCC) |
m (→GCC: 36057 minor warning) |
||
Line 50: | Line 50: | ||
uint64_t lang = (uint64_t)(void *)GetKeyboardLayout(0); | uint64_t lang = (uint64_t)(void *)GetKeyboardLayout(0); | ||
^ | ^ | ||
</pre> | |||
* strobe MSYS2 x64 GTK3 build, trunk Revision 36057 | |||
<pre> | |||
Making all in gtk3 | |||
Making all in data | |||
Making all in novte | |||
Making all in widgets | |||
Making all in base | |||
vsidplaylistwidget.c:484:13: warning: 'on_foo_clicked' defined but not used [-Wunused-function] | |||
static void on_foo_clicked(GtkWidget *widget, gpointer data) | |||
^~~~~~~~~~~~~~ | |||
Making all in shared | |||
Making all in lib | |||
Making all in p64 | |||
</pre> | </pre> | ||
Revision as of 13:10, 12 February 2019
GCC
- strobe MSYS2 x64 GTK3 build, trunk Revision 35930
Making all in data Making all in novte cd ../../../.. && automake-1.15 --gnu src/arch/gtk3/novte/Makefile configure.ac:194: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:194: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation src/arch/gtk3/novte/Makefile.am:97: warning: filter %.h,$^: non-POSIX variable name src/arch/gtk3/novte/Makefile.am:97: (probably a GNU make extension) src/arch/gtk3/novte/Makefile.am:102: warning: filter %.h,$^: non-POSIX variable name src/arch/gtk3/novte/Makefile.am:102: (probably a GNU make extension) Making all in widgets Making all in base Making all in shared Making all in lib Making all in p64 Making all in hvsc Making all in build Making all in android Making all in beos Making all in macosx Making all in nextstep Making all in openstep Making all in openwatcom Making all in qnx4 Making all in rhapsody Making all in data Making all in C64 cd ../.. && automake-1.15 --gnu data/C64/Makefile configure.ac:194: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:194: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation cd ../.. && /bin/sh ./config.status data/C64/Makefile config.status: creating data/C64/Makefile Making all in C64DTV Making all in C128
- compyx, MSYS2 x86, SDL2 build (r36028)
Making all in sdl 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:407:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] uint64_t lang = (uint64_t)(void *)GetKeyboardLayout(0); ^
- strobe MSYS2 x64 GTK3 build, trunk Revision 36057
Making all in gtk3 Making all in data Making all in novte Making all in widgets Making all in base vsidplaylistwidget.c:484:13: warning: 'on_foo_clicked' defined but not used [-Wunused-function] static void on_foo_clicked(GtkWidget *widget, gpointer data) ^~~~~~~~~~~~~~ Making all in shared Making all in lib Making all in p64
clang
- gpz (x86, Linux/Gentoo, 64bit, clang 5.0.1, GTK3) (3.2 tarball)
CC=clang CXX=clang LD=clang ./configure --enable-native-tools --enable-arch=native --prefix=/usr/games/ --enable-parsid --with-midas --with-resid --with-xaw3d --with-arts --with-x --enable-native-gtk3ui --enable-ethernet --with-pulse --with-sdlsound --enable-fullscreen --enable-cpuhistory --enable-static-ffmpeg
note: here compiling using clang breaks in either ffmpeg or resid
Making all in gfxoutputdrv ffmpegdrv.c:126:36: warning: missing field 'next_pts' initializer [-Wmissing-field-initializers] static OutputStream audio_st = { 0 }; ^ ffmpegdrv.c:139:36: warning: missing field 'next_pts' initializer [-Wmissing-field-initializers] static OutputStream video_st = { 0 }; ^ ffmpegdrv.c:512:24: warning: missing field 'pts' initializer [-Wmissing-field-initializers] AVPacket pkt = { 0 }; ^ ffmpegdrv.c:981:28: warning: missing field 'pts' initializer [-Wmissing-field-initializers] AVPacket pkt = { 0 }; ^ Making all in base keysetdialog.c:98:44: warning: suggest braces around initialization of subobject [-Wmissing-braces] static GtkWidget *keyset_buttons[3][3] = { NULL }; ^~~~ { } /usr/lib64/llvm/5/bin/../../../../lib/clang/5.0.1/include/stddef.h:105:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ 1 warning generated. videopalettewidget.c:90:9: warning: unused variable 'index' [-Wunused-variable] int index = gtk_combo_box_get_active(combo); ^ 1 warning generated. ui.c:427:24: warning: unused variable 'tmp' [-Wunused-variable] gchar *tmp = g_filename_from_uri(files[i], NULL, NULL); ^ 1 warning generated. uinetplay_new.c:88:9: warning: unused variable 'state' [-Wunused-variable] int state = gtk_switch_get_active(widget); ^ Making all in ffmpeg In file included from info.c:34: ./infocontrib.h:293:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>\n" ^~~~ ./infocontrib.h:343:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Paul Dub<E9> \n" ^~~~ ./infocontrib.h:444:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Istv<E1>n F<E1>bi<E1>n\n" ^~~~ ~~~~ ~~~~ ./infocontrib.h:532:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Frank K<F6>nig <frank_koenig@t-online.de>\n" ^~~~ ./infocontrib.h:571:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Marko M<E4>kel<E4> <msmakela@gmail.com>\n" ^~~~ ~~~~ ./infocontrib.h:622:10: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Lasse <D6><F6>rni <loorni@mail.student.oulu.fi>\n" ^~~~~~~~ ./infocontrib.h:655:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Pablo Rold<E1>n <pdroldan@yahoo.com>\n" ^~~~ ./infocontrib.h:799:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Peternel, Per H<E5>kan Sundell and David Horrocks for writing\n" ^~~~ ./infocontrib.h:841:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:841:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:862:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2017", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ ./infocontrib.h:862:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2017", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ 12 warnings generated. ===== This was fixed in r35671 ===== zfile.c:490:17: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] !strcasecmp(tmp + l - len, search) != 0) { ^ ~~ zfile.c:490:17: note: add parentheses after the '!' to evaluate the comparison first !strcasecmp(tmp + l - len, search) != 0) { ^ ( ) zfile.c:490:17: note: add parentheses around left hand side expression to silence this warning !strcasecmp(tmp + l - len, search) != 0) { ^ ( ) 1 warning generated. ===== End =====
- compyx (x86_64, Linux/Ubuntu 18.10, 64bit, clang 7.0.0, GTK3) (current trunk: r35671)
$ ../vice/configure --enable-native-gtk3ui --enable-debug-gtk3ui --with-alsa --with-pulse --with-png --with-jpeg --with-gif --enable-ethernet --enable-realdevice --enable-debug
Making all in novte In file included from ../../../../../vice/src/arch/gtk3/novte/ring.cc:24: In file included from ../../../../../vice/src/arch/gtk3/novte/ring.h:29: ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:104:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(fore) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:105:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(back) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:106:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(deco) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:129:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:130:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:131:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(bold, BOLD) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:132:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(italic, ITALIC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:133:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(underline, UNDERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:134:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(strikethrough, STRIKETHROUGH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:135:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(overline, OVERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:136:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(reverse, REVERSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:137:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(blink, BLINK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:138:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(dim, DIM) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:139:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(invisible, INVISIBLE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:164:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:165:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ 16 warnings generated. ../../../../../vice/src/arch/gtk3/novte/table.cc:290:29: warning: array subscript is of type 'char' [-Wchar-subscripts] table->table['%'] = subtable; ^~~~ ../../../../../vice/src/arch/gtk3/novte/table.cc:292:29: warning: array subscript is of type 'char' [-Wchar-subscripts] if (table->table['%'] == NULL) { ^~~~ ../../../../../vice/src/arch/gtk3/novte/table.cc:294:29: warning: array subscript is of type 'char' [-Wchar-subscripts] table->table['%'] = subtable; ^~~~ ../../../../../vice/src/arch/gtk3/novte/table.cc:296:40: warning: array subscript is of type 'char' [-Wchar-subscripts] subtable = table->table['%']; ^~~~ 4 warnings generated. In file included from ../../../../../vice/src/arch/gtk3/novte/vte.cc:36: In file included from ../../../../../vice/src/arch/gtk3/novte/vteinternal.hh:26: In file included from ../../../../../vice/src/arch/gtk3/novte/ring.h:29: ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:104:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(fore) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:105:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(back) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:106:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(deco) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:129:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:130:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:131:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(bold, BOLD) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:132:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(italic, ITALIC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:133:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(underline, UNDERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:134:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(strikethrough, STRIKETHROUGH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:135:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(overline, OVERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:136:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(reverse, REVERSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:137:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(blink, BLINK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:138:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(dim, DIM) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:139:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(invisible, INVISIBLE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:164:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:165:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vte.cc:1245:24: warning: comparison of array 'this->m_screen->row_data' not equal to a null pointer is always true [-Wtautological-pointer-compare] g_assert(m_screen->row_data != nullptr); ~~~~~~~~~~^~~~~~~~ ~~~~~~~ /usr/include/glib-2.0/glib/gtestutils.h:125:59: note: expanded from macro 'g_assert' if G_LIKELY (expr) ; else \ ^~~~ /usr/include/glib-2.0/glib/gmacros.h:424:60: note: expanded from macro 'G_LIKELY' #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR((expr)), 1)) ^~~~ /usr/include/glib-2.0/glib/gmacros.h:418:8: note: expanded from macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ 17 warnings generated. In file included from ../../../../../vice/src/arch/gtk3/novte/vteaccess.cc:38: In file included from ../../../../../vice/src/arch/gtk3/novte/vteinternal.hh:26: In file included from ../../../../../vice/src/arch/gtk3/novte/ring.h:29: ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:104:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(fore) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:105:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(back) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:106:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(deco) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:129:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:130:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:131:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(bold, BOLD) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:132:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(italic, ITALIC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:133:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(underline, UNDERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:134:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(strikethrough, STRIKETHROUGH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:135:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(overline, OVERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:136:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(reverse, REVERSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:137:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(blink, BLINK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:138:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(dim, DIM) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:139:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(invisible, INVISIBLE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:164:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:165:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ 16 warnings generated. In file included from ../../../../../vice/src/arch/gtk3/novte/vtegtk.cc:53: In file included from ../../../../../vice/src/arch/gtk3/novte/vteinternal.hh:26: In file included from ../../../../../vice/src/arch/gtk3/novte/ring.h:29: ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:104:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(fore) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:105:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(back) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:106:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(deco) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:129:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:130:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:131:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(bold, BOLD) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:132:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(italic, ITALIC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:133:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(underline, UNDERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:134:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(strikethrough, STRIKETHROUGH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:135:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(overline, OVERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:136:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(reverse, REVERSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:137:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(blink, BLINK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:138:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(dim, DIM) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:139:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(invisible, INVISIBLE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:164:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:165:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vtegtk.cc:2421:22: warning: comparison of nonnull parameter 'foreground' not equal to a null pointer is 'true' on first encounter [-Wtautological-pointer-compare] g_return_if_fail(foreground != nullptr); ^~~~~~~~~~ ~~~~~~~ /usr/include/glib-2.0/glib/gmessages.h:585:18: note: expanded from macro 'g_return_if_fail' if G_LIKELY(expr) { } else \ ^~~~ /usr/include/glib-2.0/glib/gmacros.h:424:60: note: expanded from macro 'G_LIKELY' #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR((expr)), 1)) ^~~~ /usr/include/glib-2.0/glib/gmacros.h:418:8: note: expanded from macro '_G_BOOLEAN_EXPR' if (expr) \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vteterminal.h:221:88: note: declared 'nonnull' here const GdkRGBA *foreground) _VTE_GNUC_NONNULL(1) _VTE_GNUC_NONNULL(2); ^ ../../../../../vice/src/arch/gtk3/novte/vtemacros.h:32:52: note: expanded from macro '_VTE_GNUC_NONNULL' #define _VTE_GNUC_NONNULL(position) __attribute__((__nonnull__(position))) ^ 17 warnings generated. In file included from ../../../../../vice/src/arch/gtk3/novte/vterowdata.cc:24: ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:104:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(fore) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:105:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(back) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:106:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(deco) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:129:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:130:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:131:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(bold, BOLD) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:132:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(italic, ITALIC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:133:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(underline, UNDERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:134:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(strikethrough, STRIKETHROUGH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:135:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(overline, OVERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:136:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(reverse, REVERSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:137:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(blink, BLINK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:138:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(dim, DIM) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:139:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(invisible, INVISIBLE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:164:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:165:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ 16 warnings generated. In file included from ../../../../../vice/src/arch/gtk3/novte/vteseq.cc:34: In file included from ../../../../../vice/src/arch/gtk3/novte/vteinternal.hh:26: In file included from ../../../../../vice/src/arch/gtk3/novte/ring.h:29: ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:104:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(fore) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:105:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(back) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:106:5: warning: taking address of packed member 'm_colors' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_COLOR(deco) ^~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:96:46: note: expanded from macro 'CELL_ATTR_COLOR' vte_color_triple_set_##name(&m_colors, value); \ ^~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:129:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:130:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:131:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(bold, BOLD) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:132:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(italic, ITALIC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:133:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(underline, UNDERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:134:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(strikethrough, STRIKETHROUGH) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:135:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(overline, OVERLINE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:136:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(reverse, REVERSE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:137:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(blink, BLINK) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:138:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(dim, DIM) ^~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:139:5: warning: taking address of packed member 'attr' of class or structure 'VteCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(invisible, INVISIBLE) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:164:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_UINT(columns, COLUMNS) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:61:37: note: expanded from macro 'CELL_ATTR_UINT' vte_attr_set_value(&attr, VTE_ATTR_##uname##_MASK, VTE_ATTR_##uname##_SHIFT, value); \ ^~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:165:5: warning: taking address of packed member 'attr' of class or structure '_VteStreamCellAttr' may result in an unaligned pointer value [-Waddress-of-packed-member] CELL_ATTR_BOOL(fragment, FRAGMENT) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../vice/src/arch/gtk3/novte/vterowdata.h:50:36: note: expanded from macro 'CELL_ATTR_BOOL' vte_attr_set_bool(&attr, VTE_ATTR_##uname##_MASK, value); \ ^~~~ 16 warnings generated. Making all in widgets Making all in base ../../../../vice/src/arch/gtk3/uimachinewindow.c:445:25: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!gdk_seat_grab (pointerseat, window, ^ ../../../../vice/src/arch/gtk3/uimachinewindow.c:445:25: note: add parentheses after the '!' to evaluate the comparison first if (!gdk_seat_grab (pointerseat, window, ^ ( ../../../../vice/src/arch/gtk3/uimachinewindow.c:445:25: note: add parentheses around left hand side expression to silence this warning if (!gdk_seat_grab (pointerseat, window, ^ ( 1 warning generated. Making all in shared Making all in lib Making all in p64 Making all in hvsc In file included from ../../vice/src/info.c:34: ./infocontrib.h:293:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>\n" ^~~~ ./infocontrib.h:343:12: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Paul Dub<E9> \n" ^~~~ ./infocontrib.h:444:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Istv<E1>n F<E1>bi<E1>n\n" ^~~~ ~~~~ ~~~~ ./infocontrib.h:532:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Frank K<F6>nig <frank_koenig@t-online.de>\n" ^~~~ ./infocontrib.h:571:11: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Marko M<E4>kel<E4> <msmakela@gmail.com>\n" ^~~~ ~~~~ ./infocontrib.h:622:10: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Lasse <D6><F6>rni <loorni@mail.student.oulu.fi>\n" ^~~~~~~~ ./infocontrib.h:655:14: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Pablo Rold<E1>n <pdroldan@yahoo.com>\n" ^~~~ ./infocontrib.h:802:19: warning: illegal character encoding in string literal [-Winvalid-source-encoding] " Peternel, Per H<E5>kan Sundell, David Horrocks, Benjamin Rosseaux and William McCabe\n" ^~~~ ./infocontrib.h:844:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:844:41: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "1996-2001", "Andr<E9> Fachat", "Andr<E9> Fachat <fachat@physik.tu-chemnitz.de>" }, ^~~~ ./infocontrib.h:865:29: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2017", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ ./infocontrib.h:865:52: warning: illegal character encoding in string literal [-Winvalid-source-encoding] { "2004-2017", "Paul Dub<E9>", "French", "Paul Dub<E9> " }, ^~~~ 12 warnings generated.