GNOME Bugzilla – Bug 555047
Referencing variable in static declaration
Last modified: 2008-10-05 05:25:32 UTC
Steps to reproduce: using GLib; namespace GCalculator { public static string PACKAGE_GLADE_DIR = ""; public static string MAIN_GLADE_FILE = PACKAGE_GLADE_DIR + "/main_frame.glade"; } Stack trace: error: The name `PACKAGE_GLADE_DIR' does not exist in the context of `GLib' public static string MAIN_GLADE_FILE = PACKAGE_GLADE_DIR + "/main_frame.glade"; ^^^^^^^^^^^^^^^^^ Other information:
*** This bug has been marked as a duplicate of 516287 ***