]> git.ipfire.org Git - thirdparty/vala.git/commit
codegen: Adjust format-index for printf/scanf-methods which throw errors
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 27 Aug 2017 07:11:48 +0000 (09:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 27 Aug 2017 07:11:48 +0000 (09:11 +0200)
commit5c12ee63704bbb3a897df157f9413005e7dadb0e
tree1204c32f705159ee68b9401e5e76ba574102efc3
parent4056b1c18cd93cac40f1a442fd0238d48cf11cff
codegen: Adjust format-index for printf/scanf-methods which throw errors

If there is no explicit FormatArg annotation while this method throws an
error, it is required to mark the parameter located right before ellipsis
as format-arg to account for the parameter shifting caused by the inserted
GError parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=781061
codegen/valaccodemethodmodule.vala
tests/Makefile.am
tests/methods/bug781061.vala [new file with mode: 0644]