Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions vortex-duckdb/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,12 @@ fn compile_cpp(duckdb_include_dir: &Path) {
.std("c++20")
.flags(["-Wall", "-Wextra", "-Wpedantic", "-Werror"])
.cpp(true)
// Duckdb 1.5.5 uses C++11. spatial_overrides.o uses
// duckdb::ScalarFunctionCatalogEntry::Name which is constexpr but not
// inline. Our code uses C++20 where constexpr implies inline. GCC
// emits this symbol with STB_GNU_UNIQUE and this conflicts on link stage
// in duckdb-vortex where libvortex_duckdb.a is linked statically
.flag_if_supported("-fno-gnu-unique")
// We don't want compiler warnings inside duckdb headers, pass as flags
.flag("-isystem")
.flag(duckdb_include_dir)
Expand Down
Loading