Comments (3)
Hi, thanks for this, I will take the time to think about it.
Le 26 mars 2014 20:07, "Kartik Kumar" [email protected] a écrit :
Hi Sébastien,
After spending a lot of time looking through the code, I realised that the
problems I was having with the newest code is due to the default options
switched on in the main CMakeLists.txt file.The options that caused me problems are:
- SQLITE_ENABLE_COLUMN_METADATA: this is switched on by default, however
under Mac OS X, the native SQLite library is not built with column name
support. I tried building a new version using Homebrew but couldn't for the
life of me get SQLiteCpp to link to it.- SQLITE_ENABLE_ASSERT_HANDLER: this is also switched on by default,
however from what I can see, it will always result in linking problems
unless the user provides an implementation of assertion_failed().In the first case, it might still be alright to leave the option on,
however if a large number of users have pre-built versions of SQLite
installed, this might cause issues.In the second case, it seems like default case will cause problems out of
the box for a new user who has no custom implementation of
assertion_failed().After switching both these options off, I could link to the SQLiteCpp
static library without any problems.Would it be an idea to switch both these options off by default? Feels
like the safer option in general.Regards,
Kartik
Reply to this email directly or view it on GitHubhttps://github.com//issues/19
.
from sqlitecpp.
Thanks a lot @kartikkumar, I took into consideration what you proposed, and make both OFF.
Regards,
SRombauts
from sqlitecpp.
Awesome! Thanks for the quick action!
Kartik
from sqlitecpp.
Related Issues (20)
- query.bind ???
- getFilename() -Error HOT 9
- Problem with link SqliteCpp with my lib HOT 2
- First time build fails on Windows with MSVC due to carriage return characters HOT 2
- Private members to Protected to enable inheritance
- loop inert and delete, the Active(file) of memory will Abnormal increase
- MinGW cannot find library HOT 2
- Build Error HOT 2
- MSVC: Unresolved symbol SQLite::assertion_failed for example1
- On ORIN: Example1 run error.
- cannot bind to long long (64 bit signed integer)? HOT 4
- it can be shared library? HOT 2
- Issue regarding the overloading of SQLite::Statement::bind
- If the provided filename contains directories or path segments, the database will not be created. HOT 1
- can we add bindBlob(int, const std::string &)? HOT 1
- Is math function possible? HOT 1
- Adding std::optional to bind
- When will the .db-journal file be generated when I don't have any operational database in my project? HOT 1
- LNK2001: unresolved external symbol "SQLite::OPEN_READONLY" HOT 3
- cmake build warning: `cmake --help-policy CMP0148` HOT 1
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 sqlitecpp.