THRIFT-423. -strict should turn omitted field ids into compile error

Issue name says it all.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761736 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/globals.h b/compiler/cpp/src/globals.h
index 3b9e4a4..b204143 100644
--- a/compiler/cpp/src/globals.h
+++ b/compiler/cpp/src/globals.h
@@ -54,6 +54,11 @@
 };
 
 /**
+ * Strictness level
+ */
+extern int g_strict;
+
+/**
  * The master program parse tree. This is accessed from within the parser code
  * to build up the program elements.
  */