GNOME Bugzilla – Bug 774060
Fails to build on F25
Last modified: 2016-11-07 19:31:43 UTC
Trying to build vala from git: valagenieparser.c: In function ‘vala_genie_parser_expect’: valagenieparser.c:2491:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] _tmp15_ = g_error_new (VALA_PARSE_ERROR, VALA_PARSE_ERROR_SYNTAX, _tmp8_, _tmp10_, _tmp12_, _tmp14_); ^~~~~~~ valagenieparser.c: In function ‘vala_genie_parser_expect_terminator’: valagenieparser.c:2530:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] _tmp6_ = g_error_new (VALA_PARSE_ERROR, VALA_PARSE_ERROR_SYNTAX, _tmp3_, _tmp5_); ^~~~~~ valagenieparser.c: In function ‘vala_genie_parser_parse_declaration’: valagenieparser.c:15765:2: error: format not a string literal, argument types not checked [-Werror=format-nonliteral] _tmp90_ = g_error_new (VALA_PARSE_ERROR, VALA_PARSE_ERROR_SYNTAX, _tmp85_, _tmp87_, _tmp89_); ^~~~~~~
I used CFLAGS'-g3 -ggdb -Werror=format=2 -Wformat=2'
Created attachment 339266 [details] [review] vala: Pass through the format-literal
Attachment 339266 [details] pushed as ea24ad6 - vala: Pass through the format-literal