We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
vortex-duckdb/build.rs
1 parent 0931a1e commit 07d69fcCopy full SHA for 07d69fc
vortex-duckdb/build.rs
@@ -185,8 +185,14 @@ fn main() {
185
// Compile our C++ code that exposes additional DuckDB functionality.
186
cc::Build::new()
187
.std("c++17")
188
+ // Enable compiler warnings.
189
+ .flag("-Wall")
190
+ .flag("-Wextra")
191
+ .flag("-Wpedantic")
192
// Allow C++20 designator syntax even with C++17 std
193
.flag("-Wno-c++20-designator")
194
+ // Unused parameter warnings are disabled as we include DuckDB
195
+ // headers with implementations that have unused parameters.
196
.flag("-Wno-unused-parameter")
197
// We include DuckDB headers from the DuckDB extension submodule.
198
.include(duckdb_repo.join(format!("duckdb-{DUCKDB_VERSION}/src/include")))
0 commit comments