We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe61dfc commit 9ea3198Copy full SHA for 9ea3198
cmake/ext/dba/CMakeLists.txt
@@ -236,6 +236,17 @@ if(EXT_DBA_CDB)
236
target_link_libraries(php_dba PRIVATE Cdb::Cdb)
237
238
set(CDB_INCLUDE_FILE "<cdb.h>")
239
+
240
+ # At the time of writing external cdb library installed on *nix systems is
241
+ # most likely tinycdb, which isn't supported by PHP.
242
+ message(
243
+ WARNING
244
+ "When using external tinycdb library, it has different cdb_findnext() "
245
+ "signature, cdb_make* functions and doesn't use legacy uint32 type. PHP "
246
+ "source code isn't adjusted for using it yet. Recommendation is to "
247
+ "disable the 'EXT_DBA_CDB_EXTERNAL' (set it to 'OFF'), which will use "
248
+ "the cdb library bundled with PHP."
249
+ )
250
else()
251
target_sources(
252
php_dba
0 commit comments