From 31ad2c4b7dafcf083bfecce66ca7c1ad9aa6eb72 Mon Sep 17 00:00:00 2001 From: subvod Date: Fri, 24 Mar 2023 16:17:27 -0600 Subject: [PATCH] Fixed weak def at line 14 --- flips.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flips.cpp b/flips.cpp index 19b3d6a..cdeb228 100644 --- a/flips.cpp +++ b/flips.cpp @@ -14,7 +14,7 @@ void operator delete(void * p, size_t n) { free(p); } // removed extern // https://github.com/Alcaro/Flips/issues/26#issuecomment-573674247 // https://github.com/Alcaro/Flips/issues/32#issuecomment-1036141144 -//extern "C" void __cxa_pure_virtual() { abort(); } +// extern "C" void __cxa_pure_virtual() { abort(); } #if __GNUC__ && (__cpp_rtti || __cpp_exceptions) #warning "Consider building with -fno-exceptions -fno-rtti, to avoid dependencies on libgcc_s_sjlj-1.dll and libstdc++-6.dll."