Re: [sqlite] Problems with SQLITE_OMIT_xxx

2008-05-02 Thread Richard Klein
That's a good idea. My solution was simply to break up the one long continuation line into a bunch of single-line assignments: OPTS += -DSQLITE_DISABLE_LFS OPTS += -DSQLITE_OMIT_ALTERTABLE # OPTS += -DSQLITE_OMIT_ANALYZE OPTS += -DSQLITE_OMIT_ATTACH OPTS += -DSQLITE_OMIT_AUTHORIZATION OPTS +=

Re: [sqlite] Problems with SQLITE_OMIT_xxx

2008-05-02 Thread Scott Hess
Something you can do in such cases is instead of putting a comment at the beginning of the line, change the define: -DXSQLITE_OMIT_TRIGGER\ Yeah, so there's a chance that you've just randomly changed the define to enable Scary Feature X, if that's really a concern add more

Re: [sqlite] Problems with SQLITE_OMIT_xxx

2008-04-21 Thread Richard Klein
D. Richard Hipp wrote: > On Apr 21, 2008, at 9:03 PM, Richard Klein wrote: >> I regenerated and recompiled the source files >> specifying that the following features (among >> others) are to be omitted: >> >> SQLITE_OMIT_REINDEX >> SQLITE_OMIT_VIEW >> SQLITE_OMIT_VIRTUALTABLE > > It worked OK

Re: [sqlite] Problems with SQLITE_OMIT_xxx

2008-04-21 Thread D. Richard Hipp
On Apr 21, 2008, at 9:03 PM, Richard Klein wrote: > I regenerated and recompiled the source files > specifying that the following features (among > others) are to be omitted: > > SQLITE_OMIT_REINDEX > SQLITE_OMIT_VIEW > SQLITE_OMIT_VIRTUALTABLE It worked OK when I tried this combination. Are

[sqlite] Problems with SQLITE_OMIT_xxx

2008-04-21 Thread Richard Klein
I regenerated and recompiled the source files specifying that the following features (among others) are to be omitted: SQLITE_OMIT_REINDEX SQLITE_OMIT_VIEW SQLITE_OMIT_VIRTUALTABLE Nevertheless, I am getting the following link errors: delete.obj : error LNK2019: unresolved external symbol