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 656266 - --enable-deprecated doesn't mask delegate copy warning
--enable-deprecated doesn't mask delegate copy warning
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
0.13.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-10 10:39 UTC by Eric Gregory
Modified: 2011-08-14 19:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eric Gregory 2011-08-10 10:39:58 UTC
According to a conversation Jim and I had with Jurg at the Desktop Summit, the --enable-deprecated flag to valac should prevent the warning for delegate copying.

However, in testing Shotwell with Vala 0.13.1, this doesn't seem to be the case.  We're still getting build warnings for:

warning: copying delegates is discouraged
Comment 1 Luca Bruno 2011-08-14 19:39:39 UTC
ommit 2bd31fd3cb33c4d555f8f37077e8cb8cafe02f80
Author: Luca Bruno <lucabru@src.gnome.org>
Date:   Sun Aug 14 21:37:51 2011 +0200

    codegen: Do not warn when copying delegates with --enable-deprecated
    
    Fixes bug 656266.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.