GNOME Bugzilla – Bug 625159
Generation of varargs with throws fails
Last modified: 2010-07-24 21:37:04 UTC
The code generator is unable to generate valid C code if a method with varargs also declares to throw an error, i.e. void func(int val, ...) throws GLib.Error {} generates: void func(int val, ..., GError *error) {} This occurs whether the function is declared within a method, static, extern'ed. Of particular note is that if defined in a vapi file, it is correctly able to call the function (i.e. call with error before the varargs).
Duplicate of bug 620673.
Didn't find that one when I searched. Resolving as a duplicate. *** This bug has been marked as a duplicate of bug 620673 ***