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 741090 - "warning: attribute `HasEmitter' never used"
"warning: attribute `HasEmitter' never used"
Status: RESOLVED DUPLICATE of bug 741089
Product: vala
Classification: Core
Component: Bindings
0.26.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-03 21:54 UTC by Jim Nelson
Modified: 2014-12-03 21:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jim Nelson 2014-12-03 21:54:18 UTC
With Vala master, I'm seeing these sorts of warnings in most of the projects I'm developing:

glib-2.0.vapi:3913.4-3913.25: warning: attribute `ReturnsModifiedPointer' never used
		[ReturnsModifiedPointer ()]
		 ^^^^^^^^^^^^^^^^^^^^^^
gtk+-3.0.vapi:1662.4-1662.13: warning: attribute `HasEmitter' never used
		[HasEmitter]
		 ^^^^^^^^^^

... and more.

I'm not positive, but I think these warnings are only emitted for symbols that are referenced in the source code.  In other words, although there's numerous [HasEmitter] attributes in the VAPIs, the warnings are only being reported for the symbols referenced in the source code.
Comment 1 Jim Nelson 2014-12-03 21:54:57 UTC

*** This bug has been marked as a duplicate of bug 741089 ***