GNOME Bugzilla – Bug 741090
"warning: attribute `HasEmitter' never used"
Last modified: 2014-12-03 21:54:57 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.
*** This bug has been marked as a duplicate of bug 741089 ***