Description
Spotted a few build errors (and warnings) while compiling 1.4.0 in VS2015 x86 for PHPC-629. It's possible the MONGOC_ENABLE_SASL redefinition warning is my fault (due to an AC_DEFINE() in config.w32), but the other errors appear to be internal:
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-compat.h(110):
|
warning C4005: 'PRIi32': macro redefinition
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(130)
|
: note: see previous definition of 'PRIi32'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-compat.h(113):
|
warning C4005: 'PRIi64': macro redefinition
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(131)
|
: note: see previous definition of 'PRIi64'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-compat.h(114):
|
warning C4005: 'PRId64': macro redefinition
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(112)
|
: note: see previous definition of 'PRId64'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-compat.h(115):
|
warning C4005: 'PRIu64': macro redefinition
|
C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\inttypes.h(169)
|
: note: see previous definition of 'PRIu64'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(6
|
2): error C2054: expected '(' to follow '_Decimal128'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(6
|
3): error C2085: 'bson_decimal128_to_Decimal128': not in formal parameter list
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(6
|
3): error C2143: syntax error: missing ';' before '{'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(7
|
1): error C2146: syntax error: missing ')' before identifier 'decimal128'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(7
|
1): error C2061: syntax error: identifier 'decimal128'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(7
|
1): error C2059: syntax error: ';'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(7
|
1): error C2059: syntax error: ','
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libbson\src\bson\bson-decimal128.h(7
|
2): error C2059: syntax error: ')'
|
c:\php-sdk\phpdev\vc14\x86\pecl\mongodb\src\libmongoc\src\mongoc\mongoc-config.h
|
(37): warning C4005: 'MONGOC_ENABLE_SASL': macro redefinition
|
c:\php-sdk\phpdev\vc14\x86\php-7.0.2-src\main\config.w32.h(272): note: see previ
|
ous definition of 'MONGOC_ENABLE_SASL'
|
Attachments
Issue Links
- is related to
-
CDRIVER-1145 Implement Decimal 128 type spec
-
- Closed
-
-
CDRIVER-2245 Macro redefinition of printf integer formats for VS2015
-
- Closed
-
- related to
-
PHPC-629 Upgrade libbson and libmongoc to 1.4.0
-
- Closed
-