GNOME Bugzilla – Bug 702602
Constructor with varargs results in invalid header declaration
Last modified: 2018-05-22 14:48:50 UTC
If an object constructor function contains a varargs, then the C code generator leaks an invalid declaration into the generated header. Attached is a test case. The following line should not be present in the resulting header: static Test* test_constructv (GType object_type, const gchar* format, va_list _vala_va_list);
Created attachment 247209 [details] Vala test case Test with: $ valac --use-header --header=test-varargs-construct.h -C test-varargs-construct.vala
Created attachment 247210 [details] Generated header The generated header with incorrect declaration.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vala/issues/381.