Warnings

From vice-emu
Jump to: navigation, search

GCC

  • Compyx, MSYS2 x64 Gtk3, r36845
Making all in c64
Making all in cart
../../../vice/src/c64/c64export.c: In function 'export_add':
../../../vice/src/c64/c64export.c:126:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
  126 |     newentry->device = (export_resource_t *)export_res;
      |                        ^
Making all in scpu64
Making all in c64dtv
Making all in c128
Making all in vic20
Making all in cart
../../../vice/src/vic20/vic20export.c: In function 'export_add':
../../../vice/src/vic20/vic20export.c:76:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual]
   76 |     newentry->device = (export_resource_t *)export_res;
      |                        ^
Making all in pet

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