Skip to content

I'm compiling and testing the sqlite_orm project on GNU 7.3.0, but I'm encountering some strange errors. Could you please help me take a look? #1441

@Free-woodpecker

Description

@Free-woodpecker

I'm compiling and testing the sqlite_orm project on GNU 7.3.0, but I'm encountering some strange errors. Could you please help me take a look?
Thanks!

In file included from /home/yf59/V3_32/ydlidar-S4-ZY-1/samples/main.cpp:26:0:
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h: In function ‘constexpr auto sqlite_orm::column(F)’:
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:2300:23: error: reference to ‘polyfill’ is ambiguous
if constexpr (polyfill::is_specialization_of_v<F, alias_holder>) {
^~~~~~~~
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:490:44: note: candidates are: namespace sqlite_orm::polyfill = sqlite_orm::internal::sqlite_orm::internal::polyfill;
namespace polyfill = internal::polyfill;
^
In file included from /home/yf59/V3_32/ydlidar-S4-ZY-1/samples/main.cpp:26:0:
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:347:19: note: namespace sqlite_orm::internal::polyfill { }
namespace polyfill {
^~~~~~~~
In file included from /home/yf59/V3_32/ydlidar-S4-ZY-1/samples/main.cpp:26:0:
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:2300:57: error: expected primary-expression before ‘,’ token
if constexpr (polyfill::is_specialization_of_v<F, alias_holder>) {
^
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:2300:71: error: missing template arguments before ‘>’ token
if constexpr (polyfill::is_specialization_of_v<F, alias_holder>) {
^
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:2300:72: error: expected primary-expression before ‘)’ token
if constexpr (polyfill::is_specialization_of_v<F, alias_holder>) {
^
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h: In function ‘constexpr auto sqlite_orm::alias_column(F O::)’:
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:2558:13: error: reference to ‘mpl’ is ambiguous
mpl::conditional_t<std::is_same<O, aliased_type>::value, F O::
, column_pointer<aliased_type, F O::*>>;
^~~
In file included from /home/yf59/V3_32/ydlidar-S4-ZY-1/samples/main.cpp:26:0:
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:342:34: note: candidates are: namespace sqlite_orm::mpl = sqlite_orm::internal::sqlite_orm::internal::mpl;
namespace mpl = internal::mpl;
^
/home/yf59/V3_32/ydlidar-S4-ZY-1/../install/usr/include/regress/sqlite3/sqlite_orm.h:314:19: note: namespace sqlite_orm::internal::mpl { }
namespace mpl {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions