Skip to content

The build with clang 19.1.0 fails in c++20 mode. #1358

@lemourin

Description

@lemourin

Compiler log:

.../include/sqlite_orm/sqlite_orm.h:1321:20: error: cannot initialize return object of type 'size_t' (aka 'unsigned long') with an lvalue of type '<dependent type>'
 1321 |             return Idx...[Pos];

Interestingly enough, clang still defines __cpp_pack_indexing to 202311L even though I compile with -std=c++20 which is probably incorrect on the compiler side.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions