-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sqlite3] Add more features #23009
[sqlite3] Add more features #23009
Conversation
@gmilletAVS Can you please test this PR? Thanks. |
else() | ||
message(FATAL_ERROR "Unsupported platform: ${CMAKE_SYSTEM_NAME}") | ||
endif() | ||
else() | ||
set(API "-DSQLITE_API=extern") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reason:
F:\vcpkg\buildtrees\sqlite3\src\3370100-a1573e1602.clean\sqlite3.c(172381): error C2159: more than one storage class specified
F:\vcpkg\buildtrees\sqlite3\src\3370100-a1573e1602.clean\sqlite3.c(214917): error C2159: more than one storage class specified
Souce code:
#ifdef SQLITE_DEBUG
SQLITE_API extern int sqlite3_fts5_may_be_corrupt;
# define assert_nc(x) assert(sqlite3_fts5_may_be_corrupt || (x))
#else
# define assert_nc(x) assert(x)
#endif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/libspatialite/vcpkg.json
ports/vcpkg-pkgconfig-get-modules/vcpkg.json
Valid values for the license field are listed at https://spdx.org/licenses/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have modified or added at least one vcpkg.json where a "license" field is missing.
If you feel able to do so, please consider adding a "license" field to the following files:
ports/libspatialite/vcpkg.json
ports/vcpkg-pkgconfig-get-modules/vcpkg.json
Valid values for the license field are listed at https://spdx.org/licenses/
Add the official features according to the official configure:
Add system macro
SQLITE_OS_WIN
andSQLITE_OS_UNIX
.Fixes #23000.