Added dummy __cxa_atexit() and __cxa_finalize() to the kernel. We might
actually implement those, if we decide to support global constructors/destructors in kernel add-ons. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39300 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -56,6 +56,20 @@ __cxa_pure_virtual()
|
||||
panic("pure virtual function call\n");
|
||||
}
|
||||
|
||||
|
||||
extern "C" int
|
||||
__cxa_atexit(void (*hook)(void*), void* data, void* dsoHandle)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
__cxa_finalize(void* dsoHandle)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
// full C++ support in the kernel
|
||||
|
||||
Reference in New Issue
Block a user