failed to install with duckdb-0.10.0
suketa opened this issue · comments
got the following error when rake build
with duckdb-0.10.0
compiling ../../../../ext/duckdb/appender.c
compiling ../../../../ext/duckdb/blob.c
compiling ../../../../ext/duckdb/column.c
compiling ../../../../ext/duckdb/config.c
compiling ../../../../ext/duckdb/connection.c
../../../../ext/duckdb/connection.c: In function ‘duckdb_connection_query_progress’:
../../../../ext/duckdb/connection.c:117:16: error: incompatible types when assigning to type ‘double’ from type ‘duckdb_query_progress_type’ {aka ‘struct <anonymous>’}
117 | progress = duckdb_query_progress(ctx->con);
| ^~~~~~~~~~~~~~~~~~~~~
../../../../ext/duckdb/connection.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
make: *** [Makefile:248: connection.o] Error 1
rake aborted!
Command failed with status (2): [/usr/bin/make]
Tasks: TOP => build => compile => compile:x86_64-linux => compile:duckdb_native:x86_64-linux => copy:duckdb_native:x86_64-linux:3.3.0 => tmp/x86_64-linux/duckdb_native/3.3.0/duckdb_native.so
(See full trace by running task with --trace)
The return type of duckdb_query_progress
C-API was changed.
duckdb/duckdb@v0.9.2...v0.10.0#diff-d613dc02b293074f0ecc58ab13d9f0169bb2d9da248c9d64448b6dc51677bc55R555