Thank you. I went back through my command history and saw I had accidentally
searched sqlite3.h instead of sqlite3.c Sorry to bother everyone.

On the same topic, I know the documentation says SQLITE_OMIT_* are not
supported by the amalgamation, but I have used many of them to successfully
reduce my object file. Is there any documentation on what *does* work with
the amalgamation? I found a couple that didn't work, but I think it was a
simple issue to correct (they were removing the functions themselves but not
the function decelerations)

On Wed, Jul 27, 2011 at 8:31 PM, Roger Binns <rog...@rogerbinns.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/27/2011 04:16 AM, Baruch Burstein wrote:
> > The thing I don't understand is how can this be, because when I search
> > sqlite3.c for "SQLITE_OMIT_UTF16", I am told it doesn't exist in this
> file!
>
> You need a better search tool.  Against the 3.7.7.1 amalgamation I get 46
> matches.
>
> $ grep -nw SQLITE_OMIT_UTF16 sqlite3.c
> 12376:#ifdef SQLITE_OMIT_UTF16
> 20158:#ifndef SQLITE_OMIT_UTF16
> 20337:#endif /* SQLITE_OMIT_UTF16 */
> 20392:#ifndef SQLITE_OMIT_UTF16
> 20520:#endif /* SQLITE_OMIT_UTF16 */
> 56433:#ifdef SQLITE_OMIT_UTF16
> 57140:#ifndef SQLITE_OMIT_UTF16
> 60959:#ifndef SQLITE_OMIT_UTF16
> 60969:#endif /* SQLITE_OMIT_UTF16 */
> 61012:#ifndef SQLITE_OMIT_UTF16
> 61040:#ifndef SQLITE_OMIT_UTF16
> 61068:#endif /* SQLITE_OMIT_UTF16 */
> 61605:#ifndef SQLITE_OMIT_UTF16
> 61611:#endif /* SQLITE_OMIT_UTF16 */
> 61679:#ifndef SQLITE_OMIT_UTF16
> 61704:#ifndef SQLITE_OMIT_UTF16
> 61709:#endif /* SQLITE_OMIT_UTF16 */
> 61722:#ifndef SQLITE_OMIT_UTF16
> 61727:#endif /* SQLITE_OMIT_UTF16 */
> 61738:#ifndef SQLITE_OMIT_UTF16
> 61743:#endif /* SQLITE_OMIT_UTF16 */
> 61754:#ifndef SQLITE_OMIT_UTF16
> 61759:#endif /* SQLITE_OMIT_UTF16 */
> 61906:#ifndef SQLITE_OMIT_UTF16
> 61916:#endif /* SQLITE_OMIT_UTF16 */
> 62221:#ifndef SQLITE_OMIT_UTF16
> 63670:#ifndef SQLITE_OMIT_UTF16
> 81123:#ifndef SQLITE_OMIT_UTF16
> 87470:#ifdef SQLITE_OMIT_UTF16
> 89302:#ifndef SQLITE_OMIT_UTF16
> 89373:#endif /* SQLITE_OMIT_UTF16 */
> 90385:#ifndef SQLITE_OMIT_UTF16
> 90464:#endif /* SQLITE_OMIT_UTF16 */
> 100666:#ifndef SQLITE_OMIT_UTF16
> 107801:#ifndef SQLITE_OMIT_UTF16
> 107827:#endif /* SQLITE_OMIT_UTF16 */
> 108962:#ifndef SQLITE_OMIT_UTF16
> 109082:#ifndef SQLITE_OMIT_UTF16
> 109461:#ifndef SQLITE_OMIT_UTF16
> 109506:#endif /* SQLITE_OMIT_UTF16 */
> 110222:#ifndef SQLITE_OMIT_UTF16
> 110258:#endif /* SQLITE_OMIT_UTF16 */
> 110299:#ifndef SQLITE_OMIT_UTF16
> 110323:#endif /* SQLITE_OMIT_UTF16 */
> 110342:#ifndef SQLITE_OMIT_UTF16
> 110359:#endif /* SQLITE_OMIT_UTF16 */
>
> Roger
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iEYEARECAAYFAk4wS2AACgkQmOOfHg372QRm6wCfVVYJVn8VcmOCHWaquKP9oaNI
> 6yQAoILQx+T1b0mooqY41oxvBSY+9S7W
> =k9rY
> -----END PGP SIGNATURE-----
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to