I'm trying to activate SQLITE_ENABLE_LOCKING_STYLE=1 on FreeBSD.

We use SQLite for our new package manager and we get a report from a user
about a totally corrupted database when on nfsv4.

I want to try activating this option, but received a compilation failure
sqlite3.c:28290:14: error: implicit declaration of function
'proxyTransformUnixFile' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
        rc = proxyTransformUnixFile((unixFile*)pFile, ":auto:");
             ^


Why does the proxyTranformUnixFile function is defined surrounded by the
following tests:

#if SQLITE_ENABLE_LOCKING_STYLE && defined(__Apple__)
...
#endif

Given that this will be called later in a block that only checks
SQLITE_ENABLE_LOCKING_STYLE

?

This is on sqlite 3.7.16.1

regards,
Bapt
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to