mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
On some systems, although "-fsized-deallocation" compiler flag is there, compilation will fail because some deallocation functions are missing. Typically 'operator delete ( void* ptr, std::size_t sz )' is missing on some macOS systems. This will check their presence. On macOS we can have this case when using a compiler that supports the flag, while the OS doesn't have all the deallocation functions. Typically, ::operator delete(ptr, size) appeared in macOS 10.12 Reported error was: error: call to unavailable function 'operator delete': introduced in macOS 10.12
20 KiB
20 KiB