After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647033 - Generated code contains errors when interface is implemented by multiple classes
Generated code contains errors when interface is implemented by multiple classes
Status: RESOLVED DUPLICATE of bug 643787
Product: vala
Classification: Core
Component: D-Bus
0.12.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-07 13:38 UTC by Sebastian Pölsterl
Modified: 2011-04-07 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample (441 bytes, text/x-vala)
2011-04-07 13:38 UTC, Sebastian Pölsterl
Details

Description Sebastian Pölsterl 2011-04-07 13:38:16 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)
Comment 1 Jürg Billeter 2011-04-07 13:55:23 UTC
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 ***