diff --git a/gen/typinf.cpp b/gen/typinf.cpp index c9b58bdf..60c6e895 100644 --- a/gen/typinf.cpp +++ b/gen/typinf.cpp @@ -267,7 +267,13 @@ int TypeClass::builtinTypeInfo() /* This is statically put out with the ClassInfo, so * claim it is built in so it isn't regenerated by each module. */ +#if IN_DMD return mod ? 0 : 1; +#elif IN_LLVM + // FIXME if I enable this, the way LDC does typeinfo will cause a bunch + // of linker errors to missing class typeinfo definitions. + return 0; +#endif } /* ========================================================================= */