aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-02 19:22:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:01:41 -0700
commit1ff960b29aace99f69979fc78cf5ef204e1262a6 (patch)
treeaf3616af10dc862638c0dc51717358c7f7f0159d /compile.c
parentNow that BITS_IN_XXXX aren't defined contstants any more, (diff)
downloadsparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.tar.gz
sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.tar.bz2
sparse-1ff960b29aace99f69979fc78cf5ef204e1262a6.zip
Initialize C type system after parsing the command line arguments.
This makes "-m64" actually work.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index cdcd147..af03391 100644
--- a/compile.c
+++ b/compile.c
@@ -54,6 +54,9 @@ int main(int argc, char **argv)
filename = arg;
}
+ // Initialize type system
+ init_ctype();
+
if (filename == NULL)
die("No file specified");