HACKING: Update documentation for strict-non-null mode
authorPhilip Withnall <philip@tecnocode.co.uk>
Mon, 11 Mar 2013 20:16:02 +0000 (20:16 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Mon, 11 Mar 2013 20:16:02 +0000 (20:16 +0000)
Mention how to compile with --enable-experimental-non-null.

See: https://bugzilla.gnome.org/show_bug.cgi?id=695628

HACKING

diff --git a/HACKING b/HACKING
index 0ff14f3..b41bf66 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -111,6 +111,8 @@ Vala-specific rules
     programmer's intentions clearer about whether a variable may be null). The
     ultimate goal is for folks to compile correctly with Vala’s strict-non-null
     mode enabled (https://live.gnome.org/Vala/Tutorial#Strict_Non-Null_Mode).
+    You can compile folks with strict-non-null mode enabled using:
+        make VALAFLAGS=--enable-experimental-non-null
 
 12. Place the (private) member variable declaration for a variable which backs a
     property next to the (public) property declaration, rather than at the top