File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -330,8 +330,6 @@ fn cpp(duckdb_include_dir: &Path) {
330330 "-Wall" ,
331331 "-Wextra" ,
332332 "-Wpedantic" ,
333- "-Wno-unused-parameter" ,
334- "-Wno-type-limits" ,
335333 ] )
336334 . cpp ( true )
337335 . include ( duckdb_include_dir)
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if (NOT CMAKE_BUILD_TYPE)
2323endif ()
2424
2525# Enable compiler warnings (matching build.rs flags).
26- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS } -Wall -Wextra -Wpedantic -Wno-type-limits " )
26+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS } -Wall -Wextra -Wpedantic" )
2727
2828# Find DuckDB include directory via the symlink created by build.rs.
2929# The symlink points to target/duckdb-source-vX.Y.Z which contains duckdb-X.Y.Z/
Original file line number Diff line number Diff line change 1717 _Pragma("GCC diagnostic push") \
1818 _Pragma("GCC diagnostic ignored \"-Wall\"") \
1919 _Pragma("GCC diagnostic ignored \"-Wextra\"") \
20- _Pragma("GCC diagnostic ignored \"-Wpedantic\"")
20+ _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \
21+ _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") \
22+ _Pragma("GCC diagnostic ignored \"-Wtype-limits\"")
2123#define DUCKDB_INCLUDES_END _Pragma("GCC diagnostic pop")
2224#else
2325#define DUCKDB_INCLUDES_BEGIN
2426#define DUCKDB_INCLUDES_END
2527#endif
26- // clang-format on
28+ // clang-format on
You can’t perform that action at this time.
0 commit comments