Comments (6)
from sqlite_orm.
it looks like a compiler bug. I bet clang also will compile it with no errors. Your compiler (gcc 5.3.1) is sure that capture &tableName = table.name
has to be non const ref but actually it has to be const ref cause table
is const
value. GCC 10 knows it. Try updating your compiler.
from sqlite_orm.
okay, I will check if an update of the compiler is possible. A workaround is probably not known, or?
from sqlite_orm.
okay, I will check if an update of the compiler is possible. A workaround is probably not known, or?
Which workaround do you suggest?
from sqlite_orm.
Was just curious if you know one, I don´t have one/did not find one.
from sqlite_orm.
@DanielMues I don't know of any workaround, you'd have to try one and let us know...
from sqlite_orm.
Related Issues (20)
- Insert or update (increment) HOT 13
- how to use qmake to use sqlite orm in Mingw and Qt creator environments HOT 4
- Using rowid for desired class. HOT 11
- Binding doesn't work with getter & setter HOT 3
- Multi database connection HOT 2
- How to write CMake to link SQLite3 statically? HOT 1
- Cannot bind with getters and setters when inherited HOT 4
- Invalid order by order HOT 4
- Use of recent sqlite_orm setting primary_key().autoincrement() does not compile HOT 12
- Templated Storage Schema - Compilation Issues HOT 10
- 怎样定义 make_storage 返回模板类型 的 c++类成员变量 HOT 1
- "no such table" error on existing database HOT 1
- Delete a foreign key HOT 5
- sqlite-orm fails to compile under uwp HOT 5
- C:\src\sqlite_orm\tests\schema\virtual_table.cpp(6): exception: no such module: FTS5: SQL logic error HOT 2
- I need to store a vector of vector<std::string> as a field in a persistent class, how can I do this? HOT 8
- add column sync_schema will recreate table HOT 12
- Windows linker error SQLite3 HOT 3
- Warning on CMake >= 3.27 because of support for CMake >= 2.8.12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlite_orm.