[Pkg-privacy-maintainers] Bug#831154: hexchat-otr: FTBFS with GCC 6: src/otr_util.c:111:5: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
Petter Reinholdtsen
pere at hungry.com
Mon Jul 18 21:18:41 UTC 2016
[Lucas Nussbaum]
> > src/otr_util.c: In function 'context_add_app_info':
> > src/otr_util.c:111:5: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
> > formats[TXT_OTR_BETTER_TWO].def, co->accountname);
> > ^~~~~~~
> > cc1: some warnings being treated as errors
Hm, looking a the code, and how the formats array is full of format strings,
I believe the only solution to this is to supress the warning. I've commited
a fix for this to git, but lack the ability to upload at the moment, so the
fix will have to wait for someone to upload it to unstable.
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-privacy-maintainers
mailing list