commit | 245eba133628ef5b52c78d6f538c9268c9bc5828 | [log] [tgz] |
---|---|---|
author | Shih-wei Liao <sliao@google.com> | Wed Jan 19 02:14:07 2011 -0800 |
committer | Shih-wei Liao <sliao@google.com> | Wed Jan 19 02:14:07 2011 -0800 |
tree | 8702e869087cd5370c6764cf02a7ff1814cca0d6 | |
parent | 3fd0a94a5cf1656569b1aea07043cc63939dcb46 [diff] |
Enforce C99 checking. Change-Id: Id5c2afa01fdf88170d7fafcb7d321aa127d02e27
diff --git a/slang.cpp b/slang.cpp index b8916b8..c72c1f3 100644 --- a/slang.cpp +++ b/slang.cpp
@@ -150,7 +150,7 @@ // the options. LangOpts.RTTI = 0; // Turn off the RTTI information support LangOpts.NeXTRuntime = 0; // Turn off the NeXT runtime uses - LangOpts.Bool = 1; // Turn on 'bool', 'true', 'false' keywords + LangOpts.C99 = 1; CodeGenOpts.OptimizationLevel = 3; /* -O3 */