SQLiteCpp icon indicating copy to clipboard operation
SQLiteCpp copied to clipboard

SQLiteCpp/build/libSQLiteCpp.so: undefined reference to `sqlite3_expanded_sql'

Open andrewdurkiewicz opened this issue 7 years ago • 2 comments

I am receiving only one sqlite3 undefined reference error after adding the -lsqlite3 flag. But this single error has been preventing g++ from building.

andrewdurkiewicz avatar Jul 29 '19 14:07 andrewdurkiewicz

Hi, can you give me any more details, with some logs?

SRombauts avatar Aug 25 '19 20:08 SRombauts

sqlite3_expanded_sql() was added in SQLite 3.14 (2016-08-08). Its unconditional use in Statement::getExpandedSQL() seems inconsistent with README.md's statement of compatibility back to 3.7.15. I guess it'd be nice to have a switch to opt-out of that member function.

mlin avatar Dec 16 '20 20:12 mlin