From 9ddc6e596b4efad204a52a12728a3dcc8952e3d9 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 2 May 2020 22:30:23 -0700 Subject: [PATCH] kern: fix link error --- libraries/libmesosphere/source/libc/kern_cxx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/libmesosphere/source/libc/kern_cxx.cpp b/libraries/libmesosphere/source/libc/kern_cxx.cpp index 9262db6f8..c73033cd1 100644 --- a/libraries/libmesosphere/source/libc/kern_cxx.cpp +++ b/libraries/libmesosphere/source/libc/kern_cxx.cpp @@ -13,13 +13,14 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ - +#include #ifdef __cplusplus extern "C" { #endif /* cxx implementation details to be stubbed here, as needed. */ +void __cxa_pure_virtual() { MESOSPHERE_PANIC("pure virtual function call"); } #ifdef __cplusplus } /* extern "C" */