Skip to content

Draft: Fix compile with warnlevel 3 and enable this warn level on CI jobs

MARTINSONS Frederic requested to merge fmartinsons/glib:1735-fix-warnings into master

This was mainly signedness issue and missing initializer field for struct. Note: I didn't find how to correctly initialized struct gvdb_header in gio/gvdb/gvdb-builder.c(466). Init like

struct gvdb_header header = { { 0, }, {}, {}, {{}, {}}}

works fine with gcc but fail with syntax_error with the compiler used for CI stage vs2017-x64

Closes: #1735 (closed)

Signed-off-by: Frederic Martinsons

Edited by Sebastian Dröge

Merge request reports