-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.1.1
-
Component/s: None
-
None
From PHPC-524:
/builddir/build/BUILD/php-pecl-mongodb-1.1.1/NTS/src/bson.c: In function 'php_phongo_bson_visit_int64': /builddir/build/BUILD/php-pecl-mongodb-1.1.1/NTS/src/bson.c:508:38: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 ADD_ASSOC_INT64(retval, key, v_int64);
From https://github.com/mongodb/mongo-php-driver/issues/189:
/«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c: In function 'php_phongo_bson_visit_int64': /«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:508:38: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 ADD_ASSOC_INT64(retval, key, v_int64); ^ In file included from /«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:38:0: ./phongo_compat.h:112:3: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(zval, key, tmp, tmp_len, 0); \ ^ /«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:508:2: note: in expansion of macro 'ADD_ASSOC_INT64' ADD_ASSOC_INT64(retval, key, v_int64); ^ ./phongo_compat.h:112:3: note: each undeclared identifier is reported only once for each function it appears in add_assoc_stringl(zval, key, tmp, tmp_len, 0); \ ^ /«PKGBUILDDIR»/mongodb-1.1.1/src/bson.c:508:2: note: in expansion of macro 'ADD_ASSOC_INT64' ADD_ASSOC_INT64(retval, key, v_int64); ^ make[1]: *** [src/bson.lo] Error 1
- duplicates
-
PHPC-524 PHP 7 / i386 broken build
- Closed
- links to