GNOME Bugzilla – Bug 647033
Generated code contains errors when interface is implemented by multiple classes
Last modified: 2011-04-07 13:55:23 UTC
Created attachment 185422 [details] Sample Trying to compile the attached code gives this error: $ valac --pkg gio-2.0 dbus_test.vala /home/sebp/dbus_test.vala.c: In function ‘scanner_proxy_method_a’: /home/sebp/dbus_test.vala.c:175: error: ‘error’ undeclared (first use in this function) /home/sebp/dbus_test.vala.c:175: error: (Each undeclared identifier is reported only once /home/sebp/dbus_test.vala.c:175: error: for each function it appears in.) /home/sebp/dbus_test.vala.c: In function ‘scanner_proxy_method_b’: /home/sebp/dbus_test.vala.c:197: error: ‘error’ undeclared (first use in this function) error: cc exited with status 256 Compilation failed: 1 error(s), 0 warning(s)
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 643787 ***