This patch move the "LLDBVersionNumber" forward declaration outside the method body and explicitly declare it as extern "C" to make sure the compiler properly mangle the symbol reference.
This is required to be able to compile LLDB using a conformed C++ compiler: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-July/009794.html With this patch, LLBD can be compiled out of the box with clang++ :-)
extern.patch
Description: Binary data
-- Jean-Daniel
_______________________________________________ lldb-dev mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
