Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir -p shared/common
- mkdir -p shared/zend
- g++ -Wall -c -std=c++11 -fvisibility=hidden -DBUILDING_PHPCPP -Wno-write-strings -MD -g `php-config --includes` -fpic -o shared/zend/inivalue.o zend/inivalue.cpp
- In file included from zend/includes.h:120,
- from zend/inivalue.cpp:8:
- zend/callable.h: In constructor ‘Php::Callable::Callable(Php::ZendCallback, const char*, const Arguments&)’:
- zend/callable.h:56:18: error: ‘struct _zend_internal_arg_info’ has no member named ‘is_variadic’
- 56 | _argv[i].is_variadic = false;
- | ^~~~~~~~~~~
- zend/callable.h:57:18: error: ‘struct _zend_internal_arg_info’ has no member named ‘pass_by_reference’
- 57 | _argv[i].pass_by_reference = false;
- | ^~~~~~~~~~~~~~~~~
- zend/callable.h:63:25: error: no match for ‘operator=’ (operand types are ‘zend_type’ and ‘int’)
- 63 | _argv[i].type = 0;
- | ^
- In file included from /usr/local/include/php/Zend/zend.h:27,
- from /usr/local/include/php/main/php.h:31,
- from zend/includes.h:40,
- from zend/inivalue.cpp:8:
- /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘zend_type& zend_type::operator=(const zend_type&)’
- 131 | } zend_type;
- | ^~~~~~~~~
- /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘int’ to ‘const zend_type&’
- /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘zend_type& zend_type::operator=(zend_type&&)’
- /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘int’ to ‘zend_type&&’
- In file included from zend/includes.h:120,
- from zend/inivalue.cpp:8:
- zend/callable.h: In member function ‘void Php::Callable::fill(zend_internal_arg_info*, const Php::Argument&) const’:
- zend/callable.h:202:50: error: ‘ZEND_TYPE_ENCODE’ was not declared in this scope; did you mean ‘ZEND_TYPE_CE’?
- 202 | case Type::Undefined: info->type = ZEND_TYPE_ENCODE(IS_UNDEF, arg.allowNull()); break; // undefined means we'll accept any type
- | ^~~~~~~~~~~~~~~~
- | ZEND_TYPE_CE
- zend/callable.h:213:58: error: no matching function for call to ‘zend_type::zend_type(const char*)’
- 213 | else info->type = (zend_type)arg.encoded();
- | ^
- In file included from /usr/local/include/php/Zend/zend.h:27,
- from /usr/local/include/php/main/php.h:31,
- from zend/includes.h:40,
- from zend/inivalue.cpp:8:
- /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘zend_type::zend_type()’
- 131 | } zend_type;
- | ^~~~~~~~~
- /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate expects 0 arguments, 1 provided
- /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘constexpr zend_type::zend_type(const zend_type&)’
- /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘const char*’ to ‘const zend_type&’
- /usr/local/include/php/Zend/zend_types.h:131:3: note: candidate: ‘constexpr zend_type::zend_type(zend_type&&)’
- /usr/local/include/php/Zend/zend_types.h:131:3: note: no known conversion for argument 1 from ‘const char*’ to ‘zend_type&&’
- In file included from zend/includes.h:120,
- from zend/inivalue.cpp:8:
- zend/callable.h:224:15: error: ‘zend_internal_arg_info’ {aka ‘struct _zend_internal_arg_info’} has no member named ‘is_variadic’
- 224 | info->is_variadic = false;
- | ^~~~~~~~~~~
- zend/callable.h:227:15: error: ‘zend_internal_arg_info’ {aka ‘struct _zend_internal_arg_info’} has no member named ‘pass_by_reference’
- 227 | info->pass_by_reference = arg.byReference();
- | ^~~~~~~~~~~~~~~~~
- make: *** [Makefile:219: shared/zend/inivalue.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement