build now works on nix
1. Static linking - Added KTE_STATIC_LINK CMake option and disabled it in default.nix to avoid the "attempted static link of dynamic object" error 2. Missing include - Added <cstring> to test_swap_edge_cases.cc for std::memset/std::memcpy (GCC 14 is stricter about transitive includes)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user