commit | a145b4d58ad8e91933e6548128d83a18dff3bb9b | [log] [tgz] |
---|---|---|
author | Bryan Duxbury <bryanduxbury@apache.org> | Fri Apr 03 17:29:25 2009 +0000 |
committer | Bryan Duxbury <bryanduxbury@apache.org> | Fri Apr 03 17:29:25 2009 +0000 |
tree | 96a10d789fcb9934487fed7462203fe32a857788 | |
parent | 141eab41474c18dd5509446a71f63b62d4b4035c [diff] [blame] |
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. */