]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - idlcomp/languages/c++/main.cc
Remove weak from downcast method.
[polintos/scott/priv.git] / idlcomp / languages / c++ / main.cc
index 3e921e5eb94f9a236381ca76535380faed9fa9b2..3157a5597e3b7369d510c2cc18e7dfa3fb93d640 100644 (file)
@@ -527,7 +527,7 @@ void CPPFile::output_vstruct_main(Struct *sym)
 
        if (super)
                file << '\n'
-                    << indent << "static __attribute__((weak)) " << name << " *downcast(::System::VStruct *base)\n"
+                    << indent << "static " << name << " *downcast(::System::VStruct *base)\n"
                     << indent << "{\n"
                     << indent << "\tif (!base)\n"
                     << indent << "\t\treturn NULL;\n\n"