Closed LABELNET closed 3 months ago
C++
2.1.2
ubuntu 20.04 gcc 9.4
下载 https://github.com/Tencent/wcdb/releases/download/v2.1.2/wcdb-2.1.2.zip 源码 cmake build
Post the outputs or screenshots for errors. Explain what you want by example or code in English.
Post the outputs or screenshots for errors.
Explain what you want by example or code in English.
error
[build] envs/wcdb/build/export_headers/WCDB/ColumnType.hpp:331:26: error: partial specialization of 'struct WCDB::UnsafeStringView::Convertible<T, typename std::enable_if<WCDB::ColumnIsTextType<T>::value>::type>' after instantiation of 'struct WCDB::UnsafeStringView::Convertible<WCDB::UnsafeStringView, void>' [-fpermissive] [build] 331 | struct UnsafeStringView::Convertible<T, typename std::enable_if<ColumnIsTextType<T>::value>::type> [build] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [build] envs/wcdb/build/export_headers/WCDB/ColumnType.hpp:331:26: error: partial specialization of 'struct WCDB::UnsafeStringView::Convertible<T, typename std::enable_if<WCDB::ColumnIsTextType<T>::value>::type>' after instantiation of 'struct WCDB::UnsafeStringView::Convertible<char [3], void>' [-fpermissive]
错误位置
尝试注释后,可编译通过,但项目是否可用还未测试
You can build wcdb with "-fpermissive" first. I will check it later.
Fixed in master branch
The language of WCDB
The version of WCDB
The platform of WCDB
The installation of WCDB
What's the issue?
error
错误位置
尝试注释后,可编译通过,但项目是否可用还未测试