From 6633d696c9abe6ebf166dc5552c5a94da0c7a934 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Sat, 16 May 2009 22:24:49 +0200 Subject: [PATCH] Forgot to set the (ClassInfo.flags & 32) bit added in 1.045. --- gen/classes.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gen/classes.cpp b/gen/classes.cpp index 8aa0e7a1..2ee13748 100644 --- a/gen/classes.cpp +++ b/gen/classes.cpp @@ -636,6 +636,11 @@ static unsigned build_classinfo_flags(ClassDeclaration* cd) L2: if (hasOffTi) flags |= 4; + + // always define the typeinfo field. + // why would ever not do this? + flags |= 32; + return flags; }