-
Notifications
You must be signed in to change notification settings - Fork 209
Closed
Labels
tracked-in-jiraTicket filed in Mongo's Jira systemTicket filed in Mongo's Jira system
Description
1.13.0 build success with no error
but 1.14.0 build error
#19 245.1 In file included from /php-8.1.9/ext/apcu/php_apc.h:33,
#19 245.1 from main/internal_functions_cli.c:32:
#19 245.1 /php-8.1.9/ext/apcu/apc.h:134:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
#19 245.1 134 | PHP_APCU_API apc_serializer_t* apc_get_serializers(); /* }}} */
#19 245.1 | ^~~~~~~~~~~~
#19 245.1 In file included from /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-compat.h:35,
#19 245.1 from /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson.h:23,
#19 245.1 from /php-8.1.9/ext/mongodb/src/phongo_structs.h:20,
#19 245.1 from /php-8.1.9/ext/mongodb/src/phongo_classes.h:20,
#19 245.1 from /php-8.1.9/ext/mongodb/php_phongo.h:35,
#19 245.1 from main/internal_functions_cli.c:50:
#19 245.1 /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-cmp.h:123:42: error: redefinition of 'bson_in_range_long_signed'
#19 245.1 123 | static BSON_INLINE bool BSON_CONCAT3 (bson_in_range_, Type, _signed) ( \
#19 245.1 | ^~~~~~~~~~~~~~
#19 245.1 /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-macros.h:326:34: note: in definition of macro 'BSON_CONCAT_IMPL'
#19 245.1 326 | #define BSON_CONCAT_IMPL(a, ...) a##__VA_ARGS__
#19 245.1 | ^
#19 245.1 /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-macros.h:328:31: note: in expansion of macro 'BSON_CONCAT'
#19 245.1 328 | #define BSON_CONCAT3(a, b, c) BSON_CONCAT (a, BSON_CONCAT (b, c))
#19 245.1 | ^~~~~~~~~~~
#19 245.1 /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-cmp.h:123:28: note: in expansion of macro 'BSON_CONCAT3'
#19 245.1 123 | static BSON_INLINE bool BSON_CONCAT3 (bson_in_range_, Type, _signed) ( \
#19 245.1 | ^~~~~~~~~~~~
#19 245.1 /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-cmp.h:174:1: note: in expansion of macro 'BSON_IN_RANGE_SET_SIGNED'
#19 245.1 174 | BSON_IN_RANGE_SET_SIGNED (ssize_t, SSIZE_MIN, SSIZE_MAX)
#19 245.1 | ^~~~~~~~~~~~~~~~~~~~~~~~
#19 245.1 /php-8.1.9/ext/mongodb/src/libmongoc/src/libbson/src/bson/bson-cmp.h:123:42: note: previous definition of 'bson_in_range_long_signed' with type '_Bool(int64_t)' {aka '_Bool(long int)'}
build in docker , dockerfile https://github.com/suconghou/docker/blob/master/php/Dockerfile-mongo
Metadata
Metadata
Assignees
Labels
tracked-in-jiraTicket filed in Mongo's Jira systemTicket filed in Mongo's Jira system