Skip to content

Issue compiling with ncurses library #500

@martyb95

Description

@martyb95

I love your SQLite library for C++. I am writing an application using curses and panels and i am getting errors compiling the SQLiteCPP package. See the enclosed screenshot of the build error.

It seems to be a conflict with the ncurses library. When I remove the ncurses library it compiles fine. The error is related to the OK constant. The error message is "expected unqualified-id before numeric constant" and the first error is on line 33 of statement.h which is SQLITECPP_API extern const int OK;

Is there anything I can do to get it to compile with the ncurses library?

Image

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