GithubHelp home page GithubHelp logo

Comments (3)

SRombauts avatar SRombauts commented on August 22, 2024

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:

  1. 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.
  2. 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.

SRombauts avatar SRombauts commented on August 22, 2024

Thanks a lot @kartikkumar, I took into consideration what you proposed, and make both OFF.

Regards,
SRombauts

from sqlitecpp.

kartikkumar avatar kartikkumar commented on August 22, 2024

Awesome! Thanks for the quick action!

Kartik

from sqlitecpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.