I don't think I've encountered this problem before and it confuses me.
I just tried to add SQLite to the project, and I get error.
(Btw, the SQLite source is horrible. Littered with ~450 warnings compiled as C. HORRIBLE!)
In the header, we have this:
To make the C code callable from C++ code. Unfortunately, I get the compile error
error C2059: syntax error : 'string'
Whenever the header is included from C++ code, not C code.
extern "C" is invalid in C, so much I know, but it's included from C++ code. The actual SQLite.c file compiles fine.