The compilation with GCC 8.2 produces a lot of warnings which are treated as errors by default. Let the warnings be warnings and pretend we don't care. --- old/buildSrc/linux.gradle +++ new/buildSrc/linux.gradle @@ -233,7 +233,7 @@ LINUX.glass.glass = [:] LINUX.glass.glass.nativeSource = ft_gtk_launcher.getFiles() LINUX.glass.glass.compiler = compiler -LINUX.glass.glass.ccFlags = [ccFlags, gtk2CCFlags, "-Werror"].flatten() +LINUX.glass.glass.ccFlags = [ccFlags, gtk2CCFlags, "-Wno-error"].flatten() LINUX.glass.glass.linker = linker LINUX.glass.glass.linkFlags = [linkFlags, "-lX11", "-ldl" ].flatten() LINUX.glass.glass.lib = "glass" @@ -241,7 +241,7 @@ LINUX.glass.glassgtk2 = [:] LINUX.glass.glassgtk2.nativeSource = ft_gtk.getFiles() LINUX.glass.glassgtk2.compiler = compiler -LINUX.glass.glassgtk2.ccFlags = [ccFlags, gtk2CCFlags, "-Werror"].flatten() +LINUX.glass.glassgtk2.ccFlags = [ccFlags, gtk2CCFlags, "-Wno-error"].flatten() LINUX.glass.glassgtk2.linker = linker LINUX.glass.glassgtk2.linkFlags = [linkFlags, gtk2LinkFlags ].flatten() LINUX.glass.glassgtk2.lib = "glassgtk2" @@ -249,7 +249,7 @@ LINUX.glass.glassgtk3 = [:] LINUX.glass.glassgtk3.nativeSource = ft_gtk.getFiles() LINUX.glass.glassgtk3.compiler = compiler -LINUX.glass.glassgtk3.ccFlags = [ccFlags, gtk3CCFlags, "-Werror"].flatten() +LINUX.glass.glassgtk3.ccFlags = [ccFlags, gtk3CCFlags, "-Wno-error"].flatten() LINUX.glass.glassgtk3.linker = linker LINUX.glass.glassgtk3.linkFlags = [linkFlags, gtk3LinkFlags ].flatten() LINUX.glass.glassgtk3.lib = "glassgtk3"