After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 774060 - Fails to build on F25
Fails to build on F25
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
0.32.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-07 14:25 UTC by Bastien Nocera
Modified: 2016-11-07 19:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vala: Pass through the format-literal (1.24 KB, patch)
2016-11-07 18:01 UTC, Rico Tzschichholz
committed Details | Review

Description Bastien Nocera 2016-11-07 14:25:10 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_);
  ^~~~~~~
Comment 1 Bastien Nocera 2016-11-07 14:26:58 UTC
I used CFLAGS'-g3 -ggdb -Werror=format=2 -Wformat=2'
Comment 2 Rico Tzschichholz 2016-11-07 18:01:57 UTC
Created attachment 339266 [details] [review]
vala: Pass through the format-literal
Comment 3 Rico Tzschichholz 2016-11-07 19:31:39 UTC
Attachment 339266 [details] pushed as ea24ad6 - vala: Pass through the format-literal