-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile source code error. #163
Comments
Hmm, strange that CI hasnt caught this. We need to insert an std::move before the return. I can push a fix soon. |
Thank you very much! |
Thanks for reporting this issue! It should now be fixed in #164 |
It could be missed. 🤔 |
Yeah, seems like I missed some other spots. This is only a problem on older version of GCC due to DuckDB implementing its own unique_ptr class, so I can't test it easily locally. Ill try to fix the rest of the occurrences in the next PR I make (soon hopefully) |
Which the gcc and g++ versions you are using? Mine is 12.3.0. |
Im using Clang :) - but I think I fixed some more stuff in the latest push, does it work now? Otherwise I'll set up a VM and try myself. Although the CI does build with GCC 10.2.1, so maybe its not just version age that's the problem. https://github.com/duckdb/duckdb_spatial/actions/runs/6694204601/job/18187005832 |
Successfully compile it using clang. ^^ Thanks for the clarification. |
Hi! When I compile the source code, I encounter this issue:
/script/duckdb_spatial/spatial/src/spatial/core/functions/table/st_read_osm.cpp:94:16: error: could not convert 'result' from 'unique_ptr<spatial::core::BindData,default_deletespatial::core::BindData,[...]>' to 'unique_ptr<duckdb::FunctionData,default_deleteduckdb::FunctionData,[...]>'
94 | return result;
| ^~~~~~
| |
| unique_ptr<spatial::core::BindData,default_deletespatial::core::BindData,[...]>
My Cmake version is 3.22 that is newer than 3.20:
And My g++ version is 12.3, the newest version that can be accessed using a package manager.
The text was updated successfully, but these errors were encountered: