Warnings

From vice-emu
Jump to: navigation, search

GCC

  • Strobe, MSYS2 x64 Gtk3, r37116

NOTE including the config results to hint why these show up now but didn't in previous tests.

configure summary:

Platform canonical: x86_64-w64-mingw32
Architecture      : Win32-GTK3 (treated as Unix)
GUI               : NATIVE GTK3

SCREEN/UI
---------
Hardware scaling support       : yes
Cairo rendering support        : yes

SOUND
-----
PortAudio sound input support: no  (--enable/disable-portaudio)
OSS sound support            : no  (--with/without-oss)
ALSA sound support           : no  (--with/without-alsa)
Pulseaudio sound support     : no  (--with/without-pulse)
DirectX sound support        : yes
SDL sound support            : no  (--with/without-sdlsound)
NetBSD/Solaris sound support : no
MIDI support                 : yes (--enable/disable-midi)
Catweasel MK3 support        : yes (--enable/disable-catweasel)
HardSID support              : yes (--enable/disable-hardsid)
ParSID support               : yes (--enable/disable-parsid)
SSI2001 support              : yes (--enable/disable-ssi2001)
direct I/O access support    : no
lpt port access              : no
PCI utils support            : no
MP3 encoding support         : no  (--enable/disable-lame)
MP3 decoding support         : no
FLAC en/de-coding support    : no
OGG en/de-coding support     : no

SCREENSHOTS
-----------
GIF encoding support : no  (--with/without-gif)
JPEG encoding support: yes (--with/without-jpeg)
PNG encoding support : yes (--with/without-png)

VIDEO RECORDING
---------------
FFMPEG support                : no  (--enable-shared-ffmpeg/--enable-static-ffmpeg/--enable-external-ffmpeg)
FFMPEG swscale support        : no
FFMPEG swresample support     : no
FFMPEG avresample support     : no
included shared FFMPEG support: no  (--enable-shared-ffmpeg)
included static FFMPEG support: no  (--enable-static-ffmpeg)

INPUT
-----
Mouse support               : yes
Lightpen support            : yes
Linux style joystick support: no
BSD style joystick support  : no
Digital joystick support    : no
USB joystick support        : no
DirectInput joystick support: yes

MODEM/NETWORK
-------------
RS232 device support             : yes (--enable/disable-rs232)
Network support                  : yes
RS232 network support            : yes
IPv6 network support             : no  (--enable/disable-ipv6)
Network capture/injection support: no  (--enable/disable-ethernet)

DRIVE
-----
Raw drive support: no
Real device (OpenCBM support): yes (--enable/disable-realdevice)

LIBS
----
Dynamic linking support: yes
Zlib support           : yes (--with/without-zlib)
Libieee1284 support    : no

MISC
----
ReSID support              : yes (--with/without-resid)
65xx CPU history support   : no  (--enable/disable-cpuhistory)
Debug support              : no  (--enable/disable-debug)
Embedded data files support: no  (--enable/disable-embedded)
Build old x64 emulator     : yes (--enable/--disable-x64)

User CPPFLAGS:
VICE_CPPFLAGS:  -DNDEBUG
User CFLAGS:
VICE CFLAGS:   -g -O3 -Wall -Wformat -Wformat-signedness -Wshadow -Wpointer-arith -Wstrict-prototypes -Wuninitialized -Wunreachable-code -Wno-unused-parameter -Werror=implicit-function-declaration -Wfatal-errors -Wall -Wno-unused-parameter -Wno-sign-compare -mms-bitfields -IC:/msys64/mingw64/include/glib-2.0 -IC:/msys64/mingw64/lib/glib-2.0/include -IC:/msys64/mingw64/include -pthread -mms-bitfields -IC:/msys64/mingw64/include/gtk-3.0 -IC:/msys64/mingw64/include/cairo -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/pango-1.0 -IC:/msys64/mingw64/include/fribidi -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/atk-1.0 -IC:/msys64/mingw64/include/cairo -IC:/msys64/mingw64/include/pixman-1 -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/freetype2 -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/harfbuzz -IC:/msys64/mingw64/include/libpng16 -IC:/msys64/mingw64/include/gdk-pixbuf-2.0 -IC:/msys64/mingw64/include/libpng16 -IC:/msys64/mingw64/include -IC:/msys64/mingw64/lib/libffi-3.2.1/include -IC:/msys64/mingw64/include/glib-2.0 -IC:/msys64/mingw64/lib/glib-2.0/include -IC:/msys64/mingw64/include
User CXXFLAGS:
VICE CXXFLAGS: -g -O3 -Wall -Wformat -Wshadow -Wpointer-arith -Wuninitialized -Wunreachable-code -Wno-unused-parameter -Werror=implicit-function-declaration -Wfatal-errors -Wall -Wno-unused-parameter -Wno-sign-compare -std=c++11 -Wno-nonnull-compare
VTE_CXXFLAGS:   -Wno-address-of-packed-member -Wno-char-subscripts -Wno-format-signedness
User LDFLAGS:
VICE LDFLAGS:
(didn't get around to LDFLAGS yet)
----------------------------------------------------------------------
Making all in src
config.status: creating src/config.h
config.status: src/config.h is unchanged
Making all in resid
Making all in resid-dtv
Making all in samplerdrv
Making all in joyport
Making all in sounddrv
Making all in mididrv
Making all in socketdrv
Making all in hwsiddrv
cw-win32-pci.c: In function 'cw_outb':
cw-win32-pci.c:89:10: warning: unused variable 'addr' [-Wunused-variable]
   89 |     WORD addr = (WORD)addrint;
      |          ^~~~
cw-win32-pci.c: In function 'cw_outl':
cw-win32-pci.c:101:10: warning: unused variable 'addr' [-Wunused-variable]
  101 |     WORD addr = (WORD)addrint;
      |          ^~~~
cw-win32-pci.c: In function 'cw_inb':
cw-win32-pci.c:113:10: warning: unused variable 'addr' [-Wunused-variable]
  113 |     WORD addr = (WORD)addrint;
      |          ^~~~
cw-win32-pci.c: In function 'cw_inl':
cw-win32-pci.c:126:10: warning: unused variable 'addr' [-Wunused-variable]
  126 |     WORD addr = (WORD)addrint;
      |          ^~~~
hs-win32-pci.c: In function 'hardsid_outb':
hs-win32-pci.c:99:10: warning: unused variable 'addr' [-Wunused-variable]
   99 |     WORD addr = (WORD)addrint;
      |          ^~~~
hs-win32-pci.c: In function 'hardsid_outl':
hs-win32-pci.c:111:10: warning: unused variable 'addr' [-Wunused-variable]
  111 |     WORD addr = (WORD)addrint;
      |          ^~~~
hs-win32-pci.c: In function 'hardsid_inb':
hs-win32-pci.c:123:10: warning: unused variable 'addr' [-Wunused-variable]
  123 |     WORD addr = (WORD)addrint;
      |          ^~~~
hs-win32-pci.c: In function 'hardsid_inl':
hs-win32-pci.c:136:10: warning: unused variable 'addr' [-Wunused-variable]
  136 |     WORD addr = (WORD)addrint;
      |          ^~~~
Making all in iodrv
Making all in drive

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.


Other diagnostic tools

IWYU - include-what-you-use

IWYU (https://github.com/include-what-you-use/include-what-you-use) is a tool that scans a codebase and reports on #include's that are used, might be missing and may not be needed. It should also report on forward declarations and maybe suggest using those (haven't figured that out yet).

It requires clang/llvm and building the actual tool from source using CMake. The instructions could be better and some stuff doesn't work quite right when following the instructions, but it can built and used (TODO: add instructions on how to properly build and use it (the instructions on copying clang's include/ are wrong and few deps on Debian are missing)).

Currently it has some false positives when using it on Gtk3-VICE: especially when it scans any Gtk3 code, it outputs a lot of extra #include's that aren't required, just #include'ing <gtk/gtk.h> will pull in all of the Glib, GIO, GObject, Atk, Pango, Cairo headers our Gtk3 UI requires.

As an example, here's a run on Gtk3-VICE on Linux which was configured with:

$ ../vice/configure --enable-native-gtk3ui --enable-debug-gtk3ui --enable-debug --enable-ethernet --with-pulse --with-alsa --with-jpeg --with-png --with-gif --enable-x64

The resulting report is 1.7MB of plain text, so I put it on my DropBox: https://www.dropbox.com/s/rr0v8nz3xyx8dn7/iwyu-clang6-vice-r36405.log?dl=0