=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for php80-ming-0.4.8nb1 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/php-ming/../../lang/php/ext.ini /tmp/multimedia/php-ming/work/libming-ming-0_4_8/ming.ini --- ming.lo --- /bin/sh /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/libtool --mode=compile gcc -I. -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/include -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/main -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include/freetype2 -c /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c -o ming.lo libtool: compile: gcc -I. -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/include -I/tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/main -I/tmp/multimedia/php-ming/work/.buildlink/include/php -I/tmp/multimedia/php-ming/work/.buildlink/include/php/main -I/tmp/multimedia/php-ming/work/.buildlink/include/php/TSRM -I/tmp/multimedia/php-ming/work/.buildlink/include/php/Zend -I/tmp/multimedia/php-ming/work/.buildlink/include/php/ext -I/tmp/multimedia/php-ming/work/.buildlink/include/php/ext/date/lib -I/tmp/multimedia/php-ming/work/.buildlink/include -I/tmp/multimedia/php-ming/work/.x11-buildlink/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c -fPIC -DPIC -o .libs/ming.o /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:60:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMovie getMovie(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:61:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFill getFill(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:62:41: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFGradient getGradient(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:63:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFBitmap getBitmap(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:64:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFShape getShape(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:65:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFont getFont(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:66:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFText getText(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:67:43: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFTextField getTextField(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:68:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFDisplayItem getDisplayItem(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:69:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFButton getButton(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:70:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFAction getAction(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:71:45: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFInitAction getInitAction(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:72:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMorph getMorph(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:73:40: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMovieClip getSprite(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:74:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFSound getSound(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:75:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFInput getInput(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:77:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFontCharacter getFontCharacter(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:78:51: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFSoundInstance getSoundInstance(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:79:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFVideoStream getVideoStream(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:80:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFButtonRecord getButtonRecord(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:81:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFPrebuiltClip getPrebuiltClip(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:82:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFCharacter getCharacterClass(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:83:45: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFBinaryData getBinaryData(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:84:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFBlur getBlur(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:85:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFShadow getShadow(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:86:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFilterMatrix getFilterMatrix(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:87:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFilter getFilter(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:88:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFCXform getCXform(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:89:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMatrix getMatrix(zval *id TSRMLS_DC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zif_ming_setCubicThreshold': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:118:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:118:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zif_ming_setScale': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:131:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:131:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &num) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zif_ming_useSWFVersion': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:144:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:144:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zif_ming_useConstants': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:158:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:158:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zif_ming_setSWFCompression': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:170:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:170:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &num) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:300:43: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFCharacter getCharacter(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:350:48: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFCharacter getCharacterClass(zval *id TSRMLS_DC) ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfcharacter_getWidth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:363:45: warning: implicit declaration of function 'getCharacter'; did you mean 'getchar'? [-Wimplicit-function-declaration] RETURN_DOUBLE(SWFCharacter_getWidth(getCharacter(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:363:9: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFCharacter_getWidth(getCharacter(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:363:68: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFCharacter_getWidth(getCharacter(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:363:9: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFCharacter_getWidth(getCharacter(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:363:45: warning: passing argument 1 of 'SWFCharacter_getWidth' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFCharacter_getWidth(getCharacter(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:363:9: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFCharacter_getWidth(getCharacter(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:220:7: note: expected 'SWFCharacter {aka struct SWFCharacter_s *}' but argument is of type 'int' float SWFCharacter_getWidth(SWFCharacter character); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfcharacter_getHeight': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:370:69: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFCharacter_getHeight(getCharacter(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:370:9: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFCharacter_getHeight(getCharacter(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:370:46: warning: passing argument 1 of 'SWFCharacter_getHeight' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFCharacter_getHeight(getCharacter(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:370:9: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFCharacter_getHeight(getCharacter(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:221:7: note: expected 'SWFCharacter {aka struct SWFCharacter_s *}' but argument is of type 'int' float SWFCharacter_getHeight(SWFCharacter character); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:392:55: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFInput getInput_fromFileResource(zval *zfile TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:425:29: error: expected ';', ',' or ')' before 'TSRMLS_DC' static int isInput(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:434:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFInput getInput(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfinput___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:457:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:457:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:481:53: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFontCollection getFontCollection(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffontcollection___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:505:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:505:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffontcollection_getFontCount': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:528:3: warning: implicit declaration of function 'getFontCollection'; did you mean 'destroySWFFontCollection'? [-Wimplicit-function-declaration] getFontCollection(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:527:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFFontCollection_getFontCount( ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:528:31: error: expected ')' before 'TSRMLS_CC' getFontCollection(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:527:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFFontCollection_getFontCount( ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:528:3: warning: passing argument 1 of 'SWFFontCollection_getFontCount' makes pointer from integer without a cast [-Wint-conversion] getFontCollection(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:527:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFFontCollection_getFontCount( ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:445:5: note: expected 'SWFFontCollection {aka struct SWFFontCollection_s *}' but argument is of type 'int' int SWFFontCollection_getFontCount(SWFFontCollection collection); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffontcollection_getFont': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:543:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:543:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &index) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:547:63: error: expected ')' before 'TSRMLS_CC' font = SWFFontCollection_getFont(getFontCollection(getThis() TSRMLS_CC), index); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:547:35: warning: passing argument 1 of 'SWFFontCollection_getFont' makes pointer from integer without a cast [-Wint-conversion] font = SWFFontCollection_getFont(getFontCollection(getThis() TSRMLS_CC), index); ^~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:446:9: note: expected 'SWFFontCollection {aka struct SWFFontCollection_s *}' but argument is of type 'int' SWFFont SWFFontCollection_getFont(SWFFontCollection collection, int index); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:582:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFBrowserFont getBrowserFont(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbrowserfont___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:606:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:606:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfcxform___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:660:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllldddd", ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:660:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllldddd", ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfcxform_setColorAdd': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:688:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &rAdd, &gAdd, &bAdd, &aAdd) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:688:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &rAdd, &gAdd, &bAdd, &aAdd) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:692:24: warning: implicit declaration of function 'getCXform'; did you mean 'newSWFCXform'? [-Wimplicit-function-declaration] SWFCXform_setColorAdd(getCXform(getThis() TSRMLS_CC), rAdd, gAdd, bAdd, aAdd); ^~~~~~~~~ newSWFCXform /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:692:44: error: expected ')' before 'TSRMLS_CC' SWFCXform_setColorAdd(getCXform(getThis() TSRMLS_CC), rAdd, gAdd, bAdd, aAdd); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:692:24: warning: passing argument 1 of 'SWFCXform_setColorAdd' makes pointer from integer without a cast [-Wint-conversion] SWFCXform_setColorAdd(getCXform(getThis() TSRMLS_CC), rAdd, gAdd, bAdd, aAdd); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:614:6: note: expected 'SWFCXform {aka struct SWFCXform_s *}' but argument is of type 'int' void SWFCXform_setColorAdd(SWFCXform cXform, ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfcxform_setColorMult': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:701:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &rMult, &gMult, &bMult, &aMult) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:701:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &rMult, &gMult, &bMult, &aMult) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:705:45: error: expected ')' before 'TSRMLS_CC' SWFCXform_setColorMult(getCXform(getThis() TSRMLS_CC), rMult, gMult, bMult, aMult); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:705:25: warning: passing argument 1 of 'SWFCXform_setColorMult' makes pointer from integer without a cast [-Wint-conversion] SWFCXform_setColorMult(getCXform(getThis() TSRMLS_CC), rMult, gMult, bMult, aMult); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:616:6: note: expected 'SWFCXform {aka struct SWFCXform_s *}' but argument is of type 'int' void SWFCXform_setColorMult(SWFCXform cXform, ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:719:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFCXform getCXform(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:740:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMatrix getMatrix(zval *id TSRMLS_DC) ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmatrix_getScaleX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:757:36: warning: implicit declaration of function 'getMatrix'; did you mean 'getdate'? [-Wimplicit-function-declaration] RETURN_DOUBLE(SWFMatrix_getScaleX(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:757:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getScaleX(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:757:56: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMatrix_getScaleX(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:757:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getScaleX(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:757:36: warning: passing argument 1 of 'SWFMatrix_getScaleX' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMatrix_getScaleX(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:757:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getScaleX(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:187:8: note: expected 'SWFMatrix {aka struct SWFMatrix_s *}' but argument is of type 'int' double SWFMatrix_getScaleX(SWFMatrix m); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmatrix_getScaleY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:767:56: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMatrix_getScaleY(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:767:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getScaleY(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:767:36: warning: passing argument 1 of 'SWFMatrix_getScaleY' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMatrix_getScaleY(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:767:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getScaleY(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:190:8: note: expected 'SWFMatrix {aka struct SWFMatrix_s *}' but argument is of type 'int' double SWFMatrix_getScaleY(SWFMatrix m); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmatrix_getRotate0': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:777:57: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMatrix_getRotate0(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:777:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getRotate0(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:777:37: warning: passing argument 1 of 'SWFMatrix_getRotate0' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMatrix_getRotate0(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:777:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getRotate0(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:188:8: note: expected 'SWFMatrix {aka struct SWFMatrix_s *}' but argument is of type 'int' double SWFMatrix_getRotate0(SWFMatrix m); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmatrix_getRotate1': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:787:57: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMatrix_getRotate1(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:787:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getRotate1(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:787:37: warning: passing argument 1 of 'SWFMatrix_getRotate1' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMatrix_getRotate1(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:787:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getRotate1(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:189:8: note: expected 'SWFMatrix {aka struct SWFMatrix_s *}' but argument is of type 'int' double SWFMatrix_getRotate1(SWFMatrix m); ^~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmatrix_getTranslateX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:797:60: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMatrix_getTranslateX(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:797:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getTranslateX(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:797:40: warning: passing argument 1 of 'SWFMatrix_getTranslateX' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMatrix_getTranslateX(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:797:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getTranslateX(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:191:5: note: expected 'SWFMatrix {aka struct SWFMatrix_s *}' but argument is of type 'int' int SWFMatrix_getTranslateX(SWFMatrix m); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmatrix_getTranslateY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:807:60: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMatrix_getTranslateY(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:807:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getTranslateY(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:807:40: warning: passing argument 1 of 'SWFMatrix_getTranslateY' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMatrix_getTranslateY(getMatrix(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:807:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMatrix_getTranslateY(getMatrix(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:192:5: note: expected 'SWFMatrix {aka struct SWFMatrix_s *}' but argument is of type 'int' int SWFMatrix_getTranslateY(SWFMatrix m); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfinitaction___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:839:27: warning: implicit declaration of function 'getAction'; did you mean 'getlogin'? [-Wimplicit-function-declaration] init = newSWFInitAction(getAction(zaction)); ^~~~~~~~~ getlogin /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:839:27: warning: passing argument 1 of 'newSWFInitAction' makes pointer from integer without a cast [-Wint-conversion] In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:628:15: note: expected 'SWFAction {aka struct SWFAction_s *}' but argument is of type 'int' SWFInitAction newSWFInitAction(SWFAction action); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:841:34: warning: passing argument 1 of 'newSWFInitAction_withId' makes pointer from integer without a cast [-Wint-conversion] init = newSWFInitAction_withId(getAction(zaction), id); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:631:15: note: expected 'SWFAction {aka struct SWFAction_s *}' but argument is of type 'int' SWFInitAction newSWFInitAction_withId(SWFAction action, int id); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:870:52: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline SWFInitAction getInitAction(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfaction___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:903:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &script, &script_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:903:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &script, &script_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:910:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Couldn't compile actionscript"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:910:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Couldn't compile actionscript"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfaction_compile': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:933:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &version) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:933:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &version) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:937:46: error: expected ')' before 'TSRMLS_CC' ret = SWFAction_compile(getAction(getThis() TSRMLS_CC), version, &len); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:937:26: warning: passing argument 1 of 'SWFAction_compile' makes pointer from integer without a cast [-Wint-conversion] ret = SWFAction_compile(getAction(getThis() TSRMLS_CC), version, &len); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:622:5: note: expected 'SWFAction {aka struct SWFAction_s *}' but argument is of type 'int' int SWFAction_compile(SWFAction action, int swfVersion, int *length); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:950:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFAction getAction(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbitmap___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:984:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|z", &zfile, &zmask) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:984:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|z", &zfile, &zmask) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:991:11: warning: implicit declaration of function 'getInput_fromFileResource' [-Wimplicit-function-declaration] input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:991:43: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:991:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:994:11: warning: implicit declaration of function 'getInput'; did you mean 'getopt'? [-Wimplicit-function-declaration] input = getInput(zfile TSRMLS_CC); ^~~~~~~~ getopt /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:994:26: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:994:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1016:48: error: expected ')' before 'TSRMLS_CC' maskinput = getInput_fromFileResource(zmask TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1016:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] maskinput = getInput_fromFileResource(zmask TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1019:31: error: expected ')' before 'TSRMLS_CC' maskinput = getInput(zmask TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1019:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] maskinput = getInput(zmask TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1078:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFBitmap getBitmap(zval *id TSRMLS_DC) ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbitmap_getWidth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1096:35: warning: implicit declaration of function 'getBitmap'; did you mean 'getitimer'? [-Wimplicit-function-declaration] RETURN_DOUBLE(SWFBitmap_getWidth(getBitmap(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1096:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFBitmap_getWidth(getBitmap(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1096:55: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFBitmap_getWidth(getBitmap(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1096:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFBitmap_getWidth(getBitmap(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1096:35: warning: passing argument 1 of 'SWFBitmap_getWidth' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFBitmap_getWidth(getBitmap(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1096:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFBitmap_getWidth(getBitmap(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:248:5: note: expected 'SWFBitmap {aka struct SWFCharacter_s *}' but argument is of type 'int' int SWFBitmap_getWidth(SWFBitmap b); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbitmap_getHeight': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1107:56: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFBitmap_getHeight(getBitmap(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1107:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFBitmap_getHeight(getBitmap(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1107:36: warning: passing argument 1 of 'SWFBitmap_getHeight' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFBitmap_getHeight(getBitmap(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1107:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFBitmap_getHeight(getBitmap(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:249:5: note: expected 'SWFBitmap {aka struct SWFCharacter_s *}' but argument is of type 'int' int SWFBitmap_getHeight(SWFBitmap b); ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1123:42: error: expected ';', ',' or ')' before 'TSRMLS_DC' SWFButtonRecord getButtonRecord(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_setDepth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1140:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1140:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1143:27: warning: implicit declaration of function 'getButtonRecord'; did you mean 'SWFButtonRecord_move'? [-Wimplicit-function-declaration] SWFButtonRecord_setDepth(getButtonRecord(getThis() TSRMLS_CC), depth); ^~~~~~~~~~~~~~~ SWFButtonRecord_move /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1143:53: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_setDepth(getButtonRecord(getThis() TSRMLS_CC), depth); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1143:27: warning: passing argument 1 of 'SWFButtonRecord_setDepth' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_setDepth(getButtonRecord(getThis() TSRMLS_CC), depth); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:683:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_setDepth(SWFButtonRecord b, int depth); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_setBlendMode': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1153:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1153:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1156:57: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_setBlendMode(getButtonRecord(getThis() TSRMLS_CC), mode); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1156:31: warning: passing argument 1 of 'SWFButtonRecord_setBlendMode' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_setBlendMode(getButtonRecord(getThis() TSRMLS_CC), mode); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:685:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_setBlendMode(SWFButtonRecord b, int mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_move': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1166:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1166:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1169:49: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_move(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1169:23: warning: passing argument 1 of 'SWFButtonRecord_move' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_move(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:686:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_move(SWFButtonRecord record, double x, double y); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_moveTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1179:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1179:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1182:51: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_moveTo(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1182:25: warning: passing argument 1 of 'SWFButtonRecord_moveTo' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_moveTo(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:687:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_moveTo(SWFButtonRecord record, double x, double y); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_rotate': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1192:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1192:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1195:51: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_rotate(getButtonRecord(getThis() TSRMLS_CC), deg); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1195:25: warning: passing argument 1 of 'SWFButtonRecord_rotate' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_rotate(getButtonRecord(getThis() TSRMLS_CC), deg); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:688:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_rotate(SWFButtonRecord record, double deg); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_rotateTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1205:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1205:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1208:53: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_rotateTo(getButtonRecord(getThis() TSRMLS_CC), deg); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1208:27: warning: passing argument 1 of 'SWFButtonRecord_rotateTo' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_rotateTo(getButtonRecord(getThis() TSRMLS_CC), deg); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:689:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_rotateTo(SWFButtonRecord record, double deg); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_scale': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1218:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1218:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1221:50: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_scale(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1221:24: warning: passing argument 1 of 'SWFButtonRecord_scale' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_scale(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:690:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_scale(SWFButtonRecord record, double scaleX, double scaleY); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_scaleTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1231:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1231:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1234:52: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_scaleTo(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1234:26: warning: passing argument 1 of 'SWFButtonRecord_scaleTo' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_scaleTo(getButtonRecord(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:691:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_scaleTo(SWFButtonRecord record, double scaleX, double scaleY); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_skewX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1243:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1243:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1246:50: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_skewX(getButtonRecord(getThis() TSRMLS_CC), x); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1246:24: warning: passing argument 1 of 'SWFButtonRecord_skewX' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_skewX(getButtonRecord(getThis() TSRMLS_CC), x); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:692:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_skewX(SWFButtonRecord record, double skewX); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_skewXTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1255:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1255:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1258:52: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_skewXTo(getButtonRecord(getThis() TSRMLS_CC), x); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1258:26: warning: passing argument 1 of 'SWFButtonRecord_skewXTo' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_skewXTo(getButtonRecord(getThis() TSRMLS_CC), x); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:693:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_skewXTo(SWFButtonRecord record, double skewX); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_skewY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1267:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1267:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1270:50: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_skewY(getButtonRecord(getThis() TSRMLS_CC), y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1270:24: warning: passing argument 1 of 'SWFButtonRecord_skewY' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_skewY(getButtonRecord(getThis() TSRMLS_CC), y); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:694:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_skewY(SWFButtonRecord record, double skewY); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_skewYTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1279:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1279:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1282:52: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_skewYTo(getButtonRecord(getThis() TSRMLS_CC), y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1282:26: warning: passing argument 1 of 'SWFButtonRecord_skewYTo' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_skewYTo(getButtonRecord(getThis() TSRMLS_CC), y); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:695:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_skewYTo(SWFButtonRecord record, double skewY); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbuttonrecord_addFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1291:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &filter) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1291:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &filter) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1294:54: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_addFilter(getButtonRecord(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1294:66: warning: implicit declaration of function 'getFilter'; did you mean 'getline'? [-Wimplicit-function-declaration] SWFButtonRecord_addFilter(getButtonRecord(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ getline /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1294:83: error: expected ')' before 'TSRMLS_CC' SWFButtonRecord_addFilter(getButtonRecord(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1294:28: warning: passing argument 1 of 'SWFButtonRecord_addFilter' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_addFilter(getButtonRecord(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:684:6: note: expected 'SWFButtonRecord {aka struct SWFButtonRecord_s *}' but argument is of type 'int' void SWFButtonRecord_addFilter(SWFButtonRecord b, SWFFilter f); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1294:66: warning: passing argument 2 of 'SWFButtonRecord_addFilter' makes pointer from integer without a cast [-Wint-conversion] SWFButtonRecord_addFilter(getButtonRecord(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:684:6: note: expected 'SWFFilter {aka struct SWFFilter_s *}' but argument is of type 'int' void SWFButtonRecord_addFilter(SWFButtonRecord b, SWFFilter f); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1347:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFButton getButton(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setHit': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1363:21: warning: implicit declaration of function 'getButton'; did you mean 'newSWFButton'? [-Wimplicit-function-declaration] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ newSWFButton /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1363:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1363:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1366:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1366:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1370:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1370:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setOver': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1380:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1380:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1383:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1383:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1387:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1387:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setUp': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1397:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1397:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1400:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1400:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1404:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1404:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setDown': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1414:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1414:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1417:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1417:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1421:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1421:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_addShape': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1432:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1432:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1435:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zchar, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1435:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zchar, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1439:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1439:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_addCharacter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1452:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1452:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1460:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zchar, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1460:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zchar, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1464:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1464:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setMenu': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1488:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1488:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1490:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flag) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1490:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setScalingGrid': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1501:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1501:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1503:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x, &y, &w, &h) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1503:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &x, &y, &w, &h) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_removeScalingGrid': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1513:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1513:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_setAction': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1527:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1527:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1530:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zaction) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1530:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zaction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1534:29: error: expected ')' before 'TSRMLS_CC' action = getAction(zaction TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1534:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] action = getAction(zaction TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_addSound': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1548:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1548:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1557:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zsound, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1557:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zsound, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1561:10: warning: implicit declaration of function 'getSound'; did you mean 'getpwuid'? [-Wimplicit-function-declaration] sound = getSound(zsound TSRMLS_CC); ^~~~~~~~ getpwuid /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1561:26: error: expected ')' before 'TSRMLS_CC' sound = getSound(zsound TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1561:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sound = getSound(zsound TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbutton_addAction': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1587:41: error: expected ')' before 'TSRMLS_CC' SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1587:21: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFButton button = getButton(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1590:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zaction, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1590:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zaction, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1594:29: error: expected ')' before 'TSRMLS_CC' action = getAction(zaction TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1594:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] action = getAction(zaction TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zif_ming_keypress': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1607:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1607:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &key, &key_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1612:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Only one character expected"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1612:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Only one character expected"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1647:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFDisplayItem getDisplayItem(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_moveTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1665:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1665:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1669:24: warning: implicit declaration of function 'getDisplayItem'; did you mean 'SWFDisplayItem_move'? [-Wimplicit-function-declaration] SWFDisplayItem_moveTo(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~ SWFDisplayItem_move /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1669:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_moveTo(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1669:24: warning: passing argument 1 of 'SWFDisplayItem_moveTo' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_moveTo(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:835:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_moveTo(SWFDisplayItem item, double x, double y); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_move': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1679:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1679:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1683:47: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_move(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1683:22: warning: passing argument 1 of 'SWFDisplayItem_move' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_move(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:834:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_move(SWFDisplayItem item, double x, double y); ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_scaleTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1693:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1693:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1700:50: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_scaleTo(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1700:25: warning: passing argument 1 of 'SWFDisplayItem_scaleTo' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_scaleTo(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:839:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_scaleTo(SWFDisplayItem item, double xScale, double yScale); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_scale': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1710:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1710:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1714:48: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_scale(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1714:23: warning: passing argument 1 of 'SWFDisplayItem_scale' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_scale(getDisplayItem(getThis() TSRMLS_CC), x, y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:838:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_scale(SWFDisplayItem item, double xScale, double yScale); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_rotateTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1724:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1724:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1728:51: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_rotateTo(getDisplayItem(getThis() TSRMLS_CC), degrees); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1728:26: warning: passing argument 1 of 'SWFDisplayItem_rotateTo' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_rotateTo(getDisplayItem(getThis() TSRMLS_CC), degrees); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:837:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_rotateTo(SWFDisplayItem item, double degrees); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_rotate': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1738:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1738:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1742:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_rotate(getDisplayItem(getThis() TSRMLS_CC), degrees); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1742:24: warning: passing argument 1 of 'SWFDisplayItem_rotate' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_rotate(getDisplayItem(getThis() TSRMLS_CC), degrees); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:836:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_rotate(SWFDisplayItem item, double degrees); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_skewXTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1752:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1752:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1756:50: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_skewXTo(getDisplayItem(getThis() TSRMLS_CC), x); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1756:25: warning: passing argument 1 of 'SWFDisplayItem_skewXTo' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_skewXTo(getDisplayItem(getThis() TSRMLS_CC), x); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:841:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_skewXTo(SWFDisplayItem item, double x); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_skewX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1766:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1766:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1770:48: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_skewX(getDisplayItem(getThis() TSRMLS_CC), x); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1770:23: warning: passing argument 1 of 'SWFDisplayItem_skewX' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_skewX(getDisplayItem(getThis() TSRMLS_CC), x); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:840:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_skewX(SWFDisplayItem item, double x); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_skewYTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1780:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1780:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1784:50: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_skewYTo(getDisplayItem(getThis() TSRMLS_CC), y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1784:25: warning: passing argument 1 of 'SWFDisplayItem_skewYTo' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_skewYTo(getDisplayItem(getThis() TSRMLS_CC), y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:843:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_skewYTo(SWFDisplayItem item, double y); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_skewY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1794:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1794:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1798:48: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_skewY(getDisplayItem(getThis() TSRMLS_CC), y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1798:23: warning: passing argument 1 of 'SWFDisplayItem_skewY' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_skewY(getDisplayItem(getThis() TSRMLS_CC), y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:842:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_skewY(SWFDisplayItem item, double y); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setMatrix': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1808:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &a, &b, &c, &d, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1808:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &a, &b, &c, &d, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1812:53: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setMatrix( getDisplayItem(getThis() TSRMLS_CC), a, b, c, d, x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1812:28: warning: passing argument 1 of 'SWFDisplayItem_setMatrix' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setMatrix( getDisplayItem(getThis() TSRMLS_CC), a, b, c, d, x, y); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:851:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setMatrix(SWFDisplayItem i, double a, double b, ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setDepth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1822:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1822:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &depth) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1826:51: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setDepth(getDisplayItem(getThis() TSRMLS_CC), depth); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1826:26: warning: passing argument 1 of 'SWFDisplayItem_setDepth' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setDepth(getDisplayItem(getThis() TSRMLS_CC), depth); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:855:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setDepth(SWFDisplayItem item, int depth); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setRatio': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1836:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &ratio) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1836:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &ratio) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1840:51: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setRatio(getDisplayItem(getThis() TSRMLS_CC), ratio); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1840:26: warning: passing argument 1 of 'SWFDisplayItem_setRatio' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setRatio(getDisplayItem(getThis() TSRMLS_CC), ratio); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:859:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setRatio(SWFDisplayItem item, float ratio); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_addColor': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1850:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1850:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1854:54: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setColorAdd(getDisplayItem(getThis() TSRMLS_CC), r, g, b, (int)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1854:29: warning: passing argument 1 of 'SWFDisplayItem_setColorAdd' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setColorAdd(getDisplayItem(getThis() TSRMLS_CC), r, g, b, (int)a); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:861:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setColorAdd(SWFDisplayItem item, ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_multColor': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1864:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|d", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1864:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd|d", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1868:55: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setColorMult(getDisplayItem(getThis() TSRMLS_CC), r, g, b, a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1868:30: warning: passing argument 1 of 'SWFDisplayItem_setColorMult' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setColorMult(getDisplayItem(getThis() TSRMLS_CC), r, g, b, a); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:863:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setColorMult(SWFDisplayItem item, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setName': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1879:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1879:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1881:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1881:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_addAction': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1896:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1896:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1898:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zaction, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1898:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ol", &zaction, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1902:29: error: expected ')' before 'TSRMLS_CC' action = getAction(zaction TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1902:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] action = getAction(zaction TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_remove': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1912:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1912:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setMaskLevel': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1929:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &level) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1929:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &level) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1933:55: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setMaskLevel(getDisplayItem(getThis() TSRMLS_CC), level); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1933:30: warning: passing argument 1 of 'SWFDisplayItem_setMaskLevel' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setMaskLevel(getDisplayItem(getThis() TSRMLS_CC), level); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:858:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setMaskLevel(SWFDisplayItem item, int masklevel); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_endMask': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1942:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1942:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1957:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1957:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1973:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1973:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getXScale': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1989:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:1989:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getYScale': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2005:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2005:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getXSkew': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2021:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2021:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getYSkew': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2037:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2037:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getRot': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2053:49: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2053:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem item = getDisplayItem(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_cacheAsBitmap': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2071:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flag) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2071:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2075:56: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_cacheAsBitmap(getDisplayItem(getThis() TSRMLS_CC), flag); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2075:31: warning: passing argument 1 of 'SWFDisplayItem_cacheAsBitmap' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_cacheAsBitmap(getDisplayItem(getThis() TSRMLS_CC), flag); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:893:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_cacheAsBitmap(SWFDisplayItem item, int flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setBlendMode': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2086:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2086:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2090:56: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_cacheAsBitmap(getDisplayItem(getThis() TSRMLS_CC), mode); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2090:31: warning: passing argument 1 of 'SWFDisplayItem_cacheAsBitmap' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_cacheAsBitmap(getDisplayItem(getThis() TSRMLS_CC), mode); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:893:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_cacheAsBitmap(SWFDisplayItem item, int flag); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getDepth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2104:57: error: expected ')' before 'TSRMLS_CC' ret = SWFDisplayItem_getDepth(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2104:32: warning: passing argument 1 of 'SWFDisplayItem_getDepth' makes pointer from integer without a cast [-Wint-conversion] ret = SWFDisplayItem_getDepth(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:854:5: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' int SWFDisplayItem_getDepth(SWFDisplayItem item); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_flush': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2116:48: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_flush(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2116:23: warning: passing argument 1 of 'SWFDisplayItem_flush' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_flush(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:866:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_flush(SWFDisplayItem item); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_addFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2125:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &filter) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2125:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &filter) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2129:52: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_addFilter(getDisplayItem(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2129:81: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_addFilter(getDisplayItem(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2129:27: warning: passing argument 1 of 'SWFDisplayItem_addFilter' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_addFilter(getDisplayItem(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:914:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_addFilter(SWFDisplayItem item, SWFFilter filter); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2129:64: warning: passing argument 2 of 'SWFDisplayItem_addFilter' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_addFilter(getDisplayItem(getThis() TSRMLS_CC), getFilter(filter TSRMLS_CC)); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:914:6: note: expected 'SWFFilter {aka struct SWFFilter_s *}' but argument is of type 'int' void SWFDisplayItem_addFilter(SWFDisplayItem item, SWFFilter filter); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_setCXform': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2139:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &cx) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2139:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &cx) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2143:52: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setCXform(getDisplayItem(getThis() TSRMLS_CC), getCXform(cx TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2143:77: error: expected ')' before 'TSRMLS_CC' SWFDisplayItem_setCXform(getDisplayItem(getThis() TSRMLS_CC), getCXform(cx TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2143:27: warning: passing argument 1 of 'SWFDisplayItem_setCXform' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setCXform(getDisplayItem(getThis() TSRMLS_CC), getCXform(cx TSRMLS_CC)); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:860:6: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' void SWFDisplayItem_setCXform(SWFDisplayItem item, SWFCXform cXform); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2143:64: warning: passing argument 2 of 'SWFDisplayItem_setCXform' makes pointer from integer without a cast [-Wint-conversion] SWFDisplayItem_setCXform(getDisplayItem(getThis() TSRMLS_CC), getCXform(cx TSRMLS_CC)); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:860:6: note: expected 'SWFCXform {aka struct SWFCXform_s *}' but argument is of type 'int' void SWFDisplayItem_setCXform(SWFDisplayItem item, SWFCXform cXform); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getMatrix': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2161:56: error: expected ')' before 'TSRMLS_CC' m = SWFDisplayItem_getMatrix(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2161:31: warning: passing argument 1 of 'SWFDisplayItem_getMatrix' makes pointer from integer without a cast [-Wint-conversion] m = SWFDisplayItem_getMatrix(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:850:11: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' SWFMatrix SWFDisplayItem_getMatrix(SWFDisplayItem item); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfdisplayitem_getCharacter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2192:59: error: expected ')' before 'TSRMLS_CC' c = SWFDisplayItem_getCharacter(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2192:34: warning: passing argument 1 of 'SWFDisplayItem_getCharacter' makes pointer from integer without a cast [-Wint-conversion] c = SWFDisplayItem_getCharacter(getDisplayItem(getThis() TSRMLS_CC)); ^~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:831:14: note: expected 'SWFDisplayItem {aka struct SWFDisplayItem_s *}' but argument is of type 'int' SWFCharacter SWFDisplayItem_getCharacter(SWFDisplayItem item); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2259:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Instantiating SWFFill won't do any good- use SWFShape::addFill() instead"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2259:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Instantiating SWFFill won't do any good- use SWFShape::addFill() instead"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2277:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFill getFill(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_moveTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2294:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2294:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2298:17: warning: implicit declaration of function 'getFill'; did you mean 'getsid'? [-Wimplicit-function-declaration] SWFFill_moveTo(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~ getsid /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2298:35: error: expected ')' before 'TSRMLS_CC' SWFFill_moveTo(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2298:17: warning: passing argument 1 of 'SWFFill_moveTo' makes pointer from integer without a cast [-Wint-conversion] SWFFill_moveTo(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:943:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_moveTo(SWFFill fill, float x, float y); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_move': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2308:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2308:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2312:33: error: expected ')' before 'TSRMLS_CC' SWFFill_move(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2312:15: warning: passing argument 1 of 'SWFFill_move' makes pointer from integer without a cast [-Wint-conversion] SWFFill_move(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:942:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_move(SWFFill fill, float x, float y); ^~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_scaleTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2323:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2323:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2330:38: error: expected ')' before 'TSRMLS_CC' SWFFill_scaleXYTo(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2330:20: warning: passing argument 1 of 'SWFFill_scaleXYTo' makes pointer from integer without a cast [-Wint-conversion] SWFFill_scaleXYTo(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:933:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_scaleXYTo(SWFFill fill, float x, float y); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_scale': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2340:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2340:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|d", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2347:36: error: expected ')' before 'TSRMLS_CC' SWFFill_scaleXY(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2347:18: warning: passing argument 1 of 'SWFFill_scaleXY' makes pointer from integer without a cast [-Wint-conversion] SWFFill_scaleXY(getFill(getThis() TSRMLS_CC), x, y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:932:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_scaleXY(SWFFill fill, float x, float y); ^~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_rotateTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2358:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2358:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2362:37: error: expected ')' before 'TSRMLS_CC' SWFFill_rotateTo(getFill(getThis() TSRMLS_CC), degrees); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2362:19: warning: passing argument 1 of 'SWFFill_rotateTo' makes pointer from integer without a cast [-Wint-conversion] SWFFill_rotateTo(getFill(getThis() TSRMLS_CC), degrees); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:940:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_rotateTo(SWFFill fill, float degrees); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_rotate': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2372:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2372:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", °rees) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2376:35: error: expected ')' before 'TSRMLS_CC' SWFFill_rotate(getFill(getThis() TSRMLS_CC), degrees); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2376:17: warning: passing argument 1 of 'SWFFill_rotate' makes pointer from integer without a cast [-Wint-conversion] SWFFill_rotate(getFill(getThis() TSRMLS_CC), degrees); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:939:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_rotate(SWFFill fill, float degrees); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_skewXTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2387:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2387:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2391:36: error: expected ')' before 'TSRMLS_CC' SWFFill_skewXTo(getFill(getThis() TSRMLS_CC), x); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2391:18: warning: passing argument 1 of 'SWFFill_skewXTo' makes pointer from integer without a cast [-Wint-conversion] SWFFill_skewXTo(getFill(getThis() TSRMLS_CC), x); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:924:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_skewXTo(SWFFill fill, float x); ^~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_skewX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2401:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2401:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &x) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2405:34: error: expected ')' before 'TSRMLS_CC' SWFFill_skewX(getFill(getThis() TSRMLS_CC), x); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2405:16: warning: passing argument 1 of 'SWFFill_skewX' makes pointer from integer without a cast [-Wint-conversion] SWFFill_skewX(getFill(getThis() TSRMLS_CC), x); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:923:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_skewX(SWFFill fill, float x); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_skewYTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2415:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2415:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2419:36: error: expected ')' before 'TSRMLS_CC' SWFFill_skewYTo(getFill(getThis() TSRMLS_CC), y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2419:18: warning: passing argument 1 of 'SWFFill_skewYTo' makes pointer from integer without a cast [-Wint-conversion] SWFFill_skewYTo(getFill(getThis() TSRMLS_CC), y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:926:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_skewYTo(SWFFill fill, float y); ^~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_skewY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2429:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2429:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2433:34: error: expected ')' before 'TSRMLS_CC' SWFFill_skewY(getFill(getThis() TSRMLS_CC), y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2433:16: warning: passing argument 1 of 'SWFFill_skewY' makes pointer from integer without a cast [-Wint-conversion] SWFFill_skewY(getFill(getThis() TSRMLS_CC), y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:925:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_skewY(SWFFill fill, float y); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffill_setMatrix': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2443:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &a, &b, &c, &d, &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2443:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &a, &b, &c, &d, &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2447:38: error: expected ')' before 'TSRMLS_CC' SWFFill_setMatrix(getFill(getThis() TSRMLS_CC), a, b, c, d, x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2447:20: warning: passing argument 1 of 'SWFFill_setMatrix' makes pointer from integer without a cast [-Wint-conversion] SWFFill_setMatrix(getFill(getThis() TSRMLS_CC), a, b, c, d, x, y); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:945:6: note: expected 'SWFFill {aka struct SWFFill_s *}' but argument is of type 'int' void SWFFill_setMatrix(SWFFill fill, float a, float b, ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2475:44: error: expected ';', ',' or ')' before 'TSRMLS_DC' SWFFontCharacter getFontCharacter(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffontchar_addChars': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2493:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2493:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2497:28: warning: implicit declaration of function 'getFontCharacter' [-Wimplicit-function-declaration] SWFFontCharacter_addChars(getFontCharacter(getThis() TSRMLS_CC), string); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2497:55: error: expected ')' before 'TSRMLS_CC' SWFFontCharacter_addChars(getFontCharacter(getThis() TSRMLS_CC), string); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2497:28: warning: passing argument 1 of 'SWFFontCharacter_addChars' makes pointer from integer without a cast [-Wint-conversion] SWFFontCharacter_addChars(getFontCharacter(getThis() TSRMLS_CC), string); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:493:6: note: expected 'SWFFontCharacter {aka struct SWFFontCharacter_s *}' but argument is of type 'int' void SWFFontCharacter_addChars(SWFFontCharacter font, const char *string); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffontchar_addUTF8Chars': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2509:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2509:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2513:59: error: expected ')' before 'TSRMLS_CC' SWFFontCharacter_addUTF8Chars(getFontCharacter(getThis() TSRMLS_CC), string); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2513:32: warning: passing argument 1 of 'SWFFontCharacter_addUTF8Chars' makes pointer from integer without a cast [-Wint-conversion] SWFFontCharacter_addUTF8Chars(getFontCharacter(getThis() TSRMLS_CC), string); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:494:6: note: expected 'SWFFontCharacter {aka struct SWFFontCharacter_s *}' but argument is of type 'int' void SWFFontCharacter_addUTF8Chars(SWFFontCharacter font, const char *string); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffontchar_addAllChars': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2526:58: error: expected ')' before 'TSRMLS_CC' SWFFontCharacter_addAllChars(getFontCharacter(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2526:31: warning: passing argument 1 of 'SWFFontCharacter_addAllChars' makes pointer from integer without a cast [-Wint-conversion] SWFFontCharacter_addAllChars(getFontCharacter(getThis() TSRMLS_CC)); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:495:6: note: expected 'SWFFontCharacter {aka struct SWFFontCharacter_s *}' but argument is of type 'int' void SWFFontCharacter_addAllChars(SWFFontCharacter); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2542:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFont getFont(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2566:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2566:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &file, &file_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:99:36: error: expected ')' before 'TSRMLS_CC' if (php_check_open_basedir((file) TSRMLS_CC)) { \ ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2570:2: note: in expansion of macro 'PHP_MING_FILE_CHK' PHP_MING_FILE_CHK(file); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getWidth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2613:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2613:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2617:33: warning: implicit declaration of function 'getFont'; did you mean 'getopt'? [-Wimplicit-function-declaration] width = SWFFont_getStringWidth(getFont(getThis() TSRMLS_CC), string); ^~~~~~~ getopt /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2617:51: error: expected ')' before 'TSRMLS_CC' width = SWFFont_getStringWidth(getFont(getThis() TSRMLS_CC), string); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2617:33: warning: passing argument 1 of 'SWFFont_getStringWidth' makes pointer from integer without a cast [-Wint-conversion] width = SWFFont_getStringWidth(getFont(getThis() TSRMLS_CC), string); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:430:7: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' float SWFFont_getStringWidth(SWFFont font, const char *string); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getUTF8Width': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2632:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2632:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2636:55: error: expected ')' before 'TSRMLS_CC' width = SWFFont_getUTF8StringWidth(getFont(getThis() TSRMLS_CC), string); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2636:37: warning: passing argument 1 of 'SWFFont_getUTF8StringWidth' makes pointer from integer without a cast [-Wint-conversion] width = SWFFont_getUTF8StringWidth(getFont(getThis() TSRMLS_CC), string); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:431:7: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' float SWFFont_getUTF8StringWidth(SWFFont font, const char *string); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getGlyphCount': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2643:61: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFFont_getGlyphCount(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2643:9: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFFont_getGlyphCount(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2643:43: warning: passing argument 1 of 'SWFFont_getGlyphCount' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFFont_getGlyphCount(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2643:9: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFFont_getGlyphCount(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:441:5: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' int SWFFont_getGlyphCount(SWFFont font); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getName': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2651:56: error: expected ')' before 'TSRMLS_CC' char *name = SWFFont_getName(getFont(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2651:38: warning: passing argument 1 of 'SWFFont_getName' makes pointer from integer without a cast [-Wint-conversion] char *name = SWFFont_getName(getFont(getThis() TSRMLS_CC)); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:440:13: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' const char* SWFFont_getName(SWFFont font); ^~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2651:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *name = SWFFont_getName(getFont(getThis() TSRMLS_CC)); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getAscent': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2668:52: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFFont_getAscent(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2668:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFFont_getAscent(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2668:34: warning: passing argument 1 of 'SWFFont_getAscent' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFFont_getAscent(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2668:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFFont_getAscent(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:437:7: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' float SWFFont_getAscent(SWFFont font); ^~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getDescent': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2679:53: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFFont_getDescent(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2679:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFFont_getDescent(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2679:35: warning: passing argument 1 of 'SWFFont_getDescent' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFFont_getDescent(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2679:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFFont_getDescent(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:438:7: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' float SWFFont_getDescent(SWFFont font); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getLeading': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2690:53: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFFont_getLeading(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2690:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFFont_getLeading(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2690:35: warning: passing argument 1 of 'SWFFont_getLeading' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFFont_getLeading(getFont(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2690:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFFont_getLeading(getFont(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:439:7: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' float SWFFont_getLeading(SWFFont font); ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffont_getShape': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2701:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &zcode) == FAILURE) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2701:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &zcode) == FAILURE) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2704:2: warning: 'SWFFont_getShape' is deprecated [-Wdeprecated-declarations] result = SWFFont_getShape(getFont(getThis() TSRMLS_CC), zcode); ^~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:449:7: note: declared here char *SWFFont_getShape(SWFFont font, unsigned short c) __deprecated; ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2704:46: error: expected ')' before 'TSRMLS_CC' result = SWFFont_getShape(getFont(getThis() TSRMLS_CC), zcode); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2704:28: warning: passing argument 1 of 'SWFFont_getShape' makes pointer from integer without a cast [-Wint-conversion] result = SWFFont_getShape(getFont(getThis() TSRMLS_CC), zcode); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:449:7: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' char *SWFFont_getShape(SWFFont font, unsigned short c) __deprecated; ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swffiltermatrix___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2753:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lla", &cols, &rows, &vals) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2753:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lla", &cols, &rows, &vals) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2761:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Can't create FilterMatrix." ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2761:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Can't create FilterMatrix." ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2816:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFilterMatrix getFilterMatrix(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshadow___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2846:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &angle, &distance, &strength) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2846:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &angle, &distance, &strength) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2874:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFShadow getShadow(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfblur___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2905:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &blurX, &blurY, &passes) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2905:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddl", &blurX, &blurY, &passes) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2933:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFBlur getBlur(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2979:41: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFGradient getGradient(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfgradient_addEntry': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2997:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dlll|l", &ratio, &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:2997:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dlll|l", &ratio, &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3001:24: warning: implicit declaration of function 'getGradient'; did you mean 'newSWFGradient'? [-Wimplicit-function-declaration] SWFGradient_addEntry( getGradient(getThis() TSRMLS_CC), ratio, (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~~~ newSWFGradient /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3001:46: error: expected ')' before 'TSRMLS_CC' SWFGradient_addEntry( getGradient(getThis() TSRMLS_CC), ratio, (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3001:24: warning: passing argument 1 of 'SWFGradient_addEntry' makes pointer from integer without a cast [-Wint-conversion] SWFGradient_addEntry( getGradient(getThis() TSRMLS_CC), ratio, (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:293:6: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' void SWFGradient_addEntry(SWFGradient gradient, ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfgradient_setSpreadMode': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3015:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &val) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3015:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &val) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3019:50: error: expected ')' before 'TSRMLS_CC' SWFGradient_setSpreadMode(getGradient(getThis() TSRMLS_CC), val); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3019:28: warning: passing argument 1 of 'SWFGradient_setSpreadMode' makes pointer from integer without a cast [-Wint-conversion] SWFGradient_setSpreadMode(getGradient(getThis() TSRMLS_CC), val); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:296:6: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' void SWFGradient_setSpreadMode(SWFGradient gradient, GradientSpreadMode mode); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfgradient_setInterpolationMode': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3032:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &val) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3032:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &val) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3036:57: error: expected ')' before 'TSRMLS_CC' SWFGradient_setInterpolationMode(getGradient(getThis() TSRMLS_CC), val); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3036:35: warning: passing argument 1 of 'SWFGradient_setInterpolationMode' makes pointer from integer without a cast [-Wint-conversion] SWFGradient_setInterpolationMode(getGradient(getThis() TSRMLS_CC), val); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:297:6: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' void SWFGradient_setInterpolationMode(SWFGradient gradient, GradientInterpolationMode mode); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfgradient_setFocalPoint': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3045:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &val) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3045:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &val) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3049:50: error: expected ')' before 'TSRMLS_CC' SWFGradient_setFocalPoint(getGradient(getThis() TSRMLS_CC), val); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3049:28: warning: passing argument 1 of 'SWFGradient_setFocalPoint' makes pointer from integer without a cast [-Wint-conversion] SWFGradient_setFocalPoint(getGradient(getThis() TSRMLS_CC), val); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:298:6: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' void SWFGradient_setFocalPoint(SWFGradient gradient, float focalPoint); ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3068:45: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFColor hashToColor(zval *colorHash TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createDropShadowFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3156:29: warning: implicit declaration of function 'hashToColor' [-Wimplicit-function-declaration] return newDropShadowFilter(hashToColor(colorHash), getBlur(blur), getShadow(shadow), ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3156:53: warning: implicit declaration of function 'getBlur'; did you mean 'getchar'? [-Wimplicit-function-declaration] return newDropShadowFilter(hashToColor(colorHash), getBlur(blur), getShadow(shadow), ^~~~~~~ getchar /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3156:68: warning: implicit declaration of function 'getShadow'; did you mean 'getchar'? [-Wimplicit-function-declaration] return newDropShadowFilter(hashToColor(colorHash), getBlur(blur), getShadow(shadow), ^~~~~~~~~ getchar /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3156:29: error: incompatible type for argument 1 of 'newDropShadowFilter' return newDropShadowFilter(hashToColor(colorHash), getBlur(blur), getShadow(shadow), ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:826:11: note: expected 'SWFColor {aka struct SWFColor}' but argument is of type 'int' SWFFilter newDropShadowFilter(SWFColor color, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3156:53: warning: passing argument 2 of 'newDropShadowFilter' makes pointer from integer without a cast [-Wint-conversion] return newDropShadowFilter(hashToColor(colorHash), getBlur(blur), getShadow(shadow), ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:826:11: note: expected 'SWFBlur {aka struct Blur_s *}' but argument is of type 'int' SWFFilter newDropShadowFilter(SWFColor color, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3156:68: warning: passing argument 3 of 'newDropShadowFilter' makes pointer from integer without a cast [-Wint-conversion] return newDropShadowFilter(hashToColor(colorHash), getBlur(blur), getShadow(shadow), ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:826:11: note: expected 'SWFShadow {aka struct Shadow_s *}' but argument is of type 'int' SWFFilter newDropShadowFilter(SWFColor color, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createBlurFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3189:23: warning: passing argument 1 of 'newBlurFilter' makes pointer from integer without a cast [-Wint-conversion] return newBlurFilter(getBlur(blur)); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:825:11: note: expected 'SWFBlur {aka struct Blur_s *}' but argument is of type 'int' SWFFilter newBlurFilter(SWFBlur blur); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createGlowFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3213:23: error: incompatible type for argument 1 of 'newGlowFilter' return newGlowFilter(hashToColor(color), getBlur(blur), ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:822:11: note: expected 'SWFColor {aka struct SWFColor}' but argument is of type 'int' SWFFilter newGlowFilter(SWFColor color, SWFBlur blur, ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3213:43: warning: passing argument 2 of 'newGlowFilter' makes pointer from integer without a cast [-Wint-conversion] return newGlowFilter(hashToColor(color), getBlur(blur), ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:822:11: note: expected 'SWFBlur {aka struct Blur_s *}' but argument is of type 'int' SWFFilter newGlowFilter(SWFColor color, SWFBlur blur, ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createBevelFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3250:24: error: incompatible type for argument 1 of 'newBevelFilter' return newBevelFilter(hashToColor(sColor), hashToColor(hColor), getBlur(blur), ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:819:11: note: expected 'SWFColor {aka struct SWFColor}' but argument is of type 'int' SWFFilter newBevelFilter(SWFColor shadowColor, SWFColor highlightColor, ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3250:45: error: incompatible type for argument 2 of 'newBevelFilter' return newBevelFilter(hashToColor(sColor), hashToColor(hColor), getBlur(blur), ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:819:11: note: expected 'SWFColor {aka struct SWFColor}' but argument is of type 'int' SWFFilter newBevelFilter(SWFColor shadowColor, SWFColor highlightColor, ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3250:66: warning: passing argument 3 of 'newBevelFilter' makes pointer from integer without a cast [-Wint-conversion] return newBevelFilter(hashToColor(sColor), hashToColor(hColor), getBlur(blur), ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:819:11: note: expected 'SWFBlur {aka struct Blur_s *}' but argument is of type 'int' SWFFilter newBevelFilter(SWFColor shadowColor, SWFColor highlightColor, ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3251:3: warning: passing argument 4 of 'newBevelFilter' makes pointer from integer without a cast [-Wint-conversion] getShadow(shadow), Z_LVAL_P(flags)); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:819:11: note: expected 'SWFShadow {aka struct Shadow_s *}' but argument is of type 'int' SWFFilter newBevelFilter(SWFColor shadowColor, SWFColor highlightColor, ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createGradientGlowFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3290:31: warning: passing argument 1 of 'newGradientGlowFilter' makes pointer from integer without a cast [-Wint-conversion] return newGradientGlowFilter(getGradient(gradient), ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:816:11: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' SWFFilter newGradientGlowFilter(SWFGradient gradient, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3291:3: warning: passing argument 2 of 'newGradientGlowFilter' makes pointer from integer without a cast [-Wint-conversion] getBlur(blur), getShadow(shadow), Z_LVAL_P(flags)); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:816:11: note: expected 'SWFBlur {aka struct Blur_s *}' but argument is of type 'int' SWFFilter newGradientGlowFilter(SWFGradient gradient, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3291:18: warning: passing argument 3 of 'newGradientGlowFilter' makes pointer from integer without a cast [-Wint-conversion] getBlur(blur), getShadow(shadow), Z_LVAL_P(flags)); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:816:11: note: expected 'SWFShadow {aka struct Shadow_s *}' but argument is of type 'int' SWFFilter newGradientGlowFilter(SWFGradient gradient, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createConvolutionFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3326:30: warning: implicit declaration of function 'getFilterMatrix'; did you mean 'newSWFFilterMatrix'? [-Wimplicit-function-declaration] return newConvolutionFilter(getFilterMatrix(matrix), Z_DVAL_P(div), ^~~~~~~~~~~~~~~ newSWFFilterMatrix /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3326:30: warning: passing argument 1 of 'newConvolutionFilter' makes pointer from integer without a cast [-Wint-conversion] In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:810:11: note: expected 'SWFFilterMatrix {aka struct FilterMatrix_s *}' but argument is of type 'int' SWFFilter newConvolutionFilter(SWFFilterMatrix matrix, float divisor, ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3327:19: error: incompatible type for argument 4 of 'newConvolutionFilter' Z_DVAL_P(bias), hashToColor(color), Z_LVAL_P(flags)); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:810:11: note: expected 'SWFColor {aka struct SWFColor}' but argument is of type 'int' SWFFilter newConvolutionFilter(SWFFilterMatrix matrix, float divisor, ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createColorMatrixFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3362:30: warning: passing argument 1 of 'newColorMatrixFilter' makes pointer from integer without a cast [-Wint-conversion] return newColorMatrixFilter(getFilterMatrix(matrix)); ^~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:809:11: note: expected 'SWFFilterMatrix {aka struct FilterMatrix_s *}' but argument is of type 'int' SWFFilter newColorMatrixFilter(SWFFilterMatrix matrix); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'createGradientBevelFilter': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3385:32: warning: passing argument 1 of 'newGradientBevelFilter' makes pointer from integer without a cast [-Wint-conversion] return newGradientBevelFilter(getGradient(gradient), ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:813:11: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' SWFFilter newGradientBevelFilter(SWFGradient gradient, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3386:3: warning: passing argument 2 of 'newGradientBevelFilter' makes pointer from integer without a cast [-Wint-conversion] getBlur(blur), getShadow(shadow), ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:813:11: note: expected 'SWFBlur {aka struct Blur_s *}' but argument is of type 'int' SWFFilter newGradientBevelFilter(SWFGradient gradient, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3386:18: warning: passing argument 3 of 'newGradientBevelFilter' makes pointer from integer without a cast [-Wint-conversion] getBlur(blur), getShadow(shadow), ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:813:11: note: expected 'SWFShadow {aka struct Shadow_s *}' but argument is of type 'int' SWFFilter newGradientBevelFilter(SWFGradient gradient, SWFBlur blur, ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3556:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFFilter getFilter(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3613:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMorph getMorph(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmorph_getShape1': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3629:19: warning: implicit declaration of function 'getMorph'; did you mean 'getopt'? [-Wimplicit-function-declaration] SWFMorph morph = getMorph(getThis()); ^~~~~~~~ getopt /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3629:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmorph_getShape2': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3651:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMorph morph = getMorph(getThis()); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundstream___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3692:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &zfile) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3692:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &zfile) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3699:43: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3699:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3702:26: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3702:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3738:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFSoundStream getSoundStream(zval *id TSRMLS_DC) ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundstream_getDuration': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3767:41: warning: implicit declaration of function 'getSoundStream'; did you mean 'newSWFSoundStream'? [-Wimplicit-function-declaration] RETURN_LONG(SWFSoundStream_getDuration(getSoundStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3767:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFSoundStream_getDuration(getSoundStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3767:66: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFSoundStream_getDuration(getSoundStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3767:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFSoundStream_getDuration(getSoundStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3767:41: warning: passing argument 1 of 'SWFSoundStream_getDuration' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFSoundStream_getDuration(getSoundStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3767:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFSoundStream_getDuration(getSoundStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:560:14: note: expected 'SWFSoundStream {aka struct SWFSoundStream_s *}' but argument is of type 'int' unsigned int SWFSoundStream_getDuration(SWFSoundStream); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundstream_setInitialMp3Delay': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3775:51: error: expected ')' before 'TSRMLS_CC' SWFSoundStream stream = getSoundStream(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3775:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFSoundStream stream = getSoundStream(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3777:45: error: expected ')' before 'TSRMLS_CC' if ( zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &delay) == FAILURE ) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3777:7: error: too few arguments to function 'zend_parse_parameters' if ( zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &delay) == FAILURE ) ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3799:28: error: expected ';', ',' or ')' before 'TSRMLS_DC' SWFSound getSound(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsound___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3828:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &zfile, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3828:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &zfile, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3834:33: error: expected ')' before 'TSRMLS_CC' stream = getSoundStream(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3834:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] stream = getSoundStream(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3842:44: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3842:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3845:27: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3845:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3902:44: error: expected ';', ',' or ')' before 'TSRMLS_DC' SWFSoundInstance getSoundInstance(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundinstance_noMultiple': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3917:26: warning: implicit declaration of function 'getSoundInstance'; did you mean 'destroySWFSoundInstance'? [-Wimplicit-function-declaration] SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~ destroySWFSoundInstance /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3917:53: error: expected ')' before 'TSRMLS_CC' SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3917:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundinstance_loopInPoint': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3932:53: error: expected ')' before 'TSRMLS_CC' SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3932:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3934:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &point) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3934:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &point) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundinstance_loopOutPoint': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3949:53: error: expected ')' before 'TSRMLS_CC' SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3949:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3951:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &point) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3951:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &point) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsoundinstance_loopCount': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3964:53: error: expected ')' before 'TSRMLS_CC' SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3964:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFSoundInstance inst = getSoundInstance(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3966:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &count) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3966:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &count) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3997:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &zfile) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:3997:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|z", &zfile) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4007:44: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4007:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4010:27: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4010:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4061:47: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFVideoStream getVideoStream(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream_setdimension': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4076:26: warning: implicit declaration of function 'getVideoStream'; did you mean 'newSWFVideoStream'? [-Wimplicit-function-declaration] SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ newSWFVideoStream /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4076:51: error: expected ')' before 'TSRMLS_CC' SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4076:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4080:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4080:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream_getnumframes': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4095:67: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFVideoStream_getNumFrames(getVideoStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4095:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFVideoStream_getNumFrames(getVideoStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4095:42: warning: passing argument 1 of 'SWFVideoStream_getNumFrames' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFVideoStream_getNumFrames(getVideoStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4095:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFVideoStream_getNumFrames(getVideoStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:709:5: note: expected 'SWFVideoStream {aka struct SWFVideoStream_s *}' but argument is of type 'int' int SWFVideoStream_getNumFrames(SWFVideoStream stream); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream_hasaudio': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4106:63: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFVideoStream_hasAudio(getVideoStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4106:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFVideoStream_hasAudio(getVideoStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4106:38: warning: passing argument 1 of 'SWFVideoStream_hasAudio' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFVideoStream_hasAudio(getVideoStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4106:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFVideoStream_hasAudio(getVideoStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:710:5: note: expected 'SWFVideoStream {aka struct SWFVideoStream_s *}' but argument is of type 'int' int SWFVideoStream_hasAudio(SWFVideoStream stream); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream_nextFrame': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4118:64: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFVideoStream_nextFrame(getVideoStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4118:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFVideoStream_nextFrame(getVideoStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4118:39: warning: passing argument 1 of 'SWFVideoStream_nextFrame' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFVideoStream_nextFrame(getVideoStream(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4118:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFVideoStream_nextFrame(getVideoStream(getThis() TSRMLS_CC))); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:712:5: note: expected 'SWFVideoStream {aka struct SWFVideoStream_s *}' but argument is of type 'int' int SWFVideoStream_nextFrame(SWFVideoStream stream); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream_setFrameMode': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4128:51: error: expected ')' before 'TSRMLS_CC' SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4128:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4132:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4132:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &mode) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfvideostream_seek': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4146:51: error: expected ')' before 'TSRMLS_CC' SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4146:26: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFVideoStream stream = getVideoStream(getThis() TSRMLS_CC); ^~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4150:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &frame, &whence) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4150:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &frame, &whence) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfbinarydata___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4194:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4194:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &data_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4215:52: error: expected ';', ',' or ')' before 'TSRMLS_DC' static inline SWFBinaryData getBinaryData(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfprebuiltclip___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4255:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &zfile) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4255:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &zfile) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4262:43: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4262:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4265:26: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4265:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4312:49: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFPrebuiltClip getPrebuiltClip(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4344:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &version) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4344:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &version) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4376:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMovie getMovie(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_nextFrame': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4391:21: warning: implicit declaration of function 'getMovie'; did you mean 'getmode'? [-Wimplicit-function-declaration] SWFMovie_nextFrame(getMovie(getThis() TSRMLS_CC)); ^~~~~~~~ getmode /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4391:40: error: expected ')' before 'TSRMLS_CC' SWFMovie_nextFrame(getMovie(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4391:21: warning: passing argument 1 of 'SWFMovie_nextFrame' makes pointer from integer without a cast [-Wint-conversion] SWFMovie_nextFrame(getMovie(getThis() TSRMLS_CC)); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:1066:6: note: expected 'SWFMovie {aka struct SWFMovie_s *}' but argument is of type 'int' void SWFMovie_nextFrame(SWFMovie movie); ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_labelFrame': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4402:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4402:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4406:41: error: expected ')' before 'TSRMLS_CC' SWFMovie_labelFrame(getMovie(getThis() TSRMLS_CC), label); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4406:22: warning: passing argument 1 of 'SWFMovie_labelFrame' makes pointer from integer without a cast [-Wint-conversion] SWFMovie_labelFrame(getMovie(getThis() TSRMLS_CC), label); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:1067:6: note: expected 'SWFMovie {aka struct SWFMovie_s *}' but argument is of type 'int' void SWFMovie_labelFrame(SWFMovie movie, const char *label); ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_namedAnchor': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4417:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4417:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4421:42: error: expected ')' before 'TSRMLS_CC' SWFMovie_namedAnchor(getMovie(getThis() TSRMLS_CC), label); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4421:23: warning: passing argument 1 of 'SWFMovie_namedAnchor' makes pointer from integer without a cast [-Wint-conversion] SWFMovie_namedAnchor(getMovie(getThis() TSRMLS_CC), label); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:1068:6: note: expected 'SWFMovie {aka struct SWFMovie_s *}' but argument is of type 'int' void SWFMovie_namedAnchor(SWFMovie movie, const char *label); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_protect': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4431:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4431:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4433:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &passwd, &passwd_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4433:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &passwd, &passwd_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_add': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4452:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4452:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4455:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4455:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4461:38: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock) getAction(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4461:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock) getAction(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4464:22: warning: implicit declaration of function 'getInitAction'; did you mean 'newSWFInitAction'? [-Wimplicit-function-declaration] block = (SWFBlock) getInitAction(zchar TSRMLS_CC); ^~~~~~~~~~~~~ newSWFInitAction /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4464:42: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock) getInitAction(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4464:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock) getInitAction(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4467:22: warning: implicit declaration of function 'getCharacterClass' [-Wimplicit-function-declaration] block = (SWFBlock) getCharacterClass(zchar TSRMLS_CC); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4467:46: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock) getCharacterClass(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4467:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock) getCharacterClass(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4470:41: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock) getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4470:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock) getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_remove': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4497:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4497:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4499:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4499:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4502:30: error: expected ')' before 'TSRMLS_CC' item = getDisplayItem(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4502:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] item = getDisplayItem(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'phpByteOutputMethod': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4511:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration] TSRMLS_FETCH(); ^~~~~~~~~~~~ TSRMLS_CACHE /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4513:18: error: expected ')' before 'TSRMLS_CC' php_write(&b, 1 TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_output': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4518:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4518:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_saveToFile': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4576:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4576:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4579:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &x, &limit) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4579:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &x, &limit) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_save': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4623:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &x, &limit) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4623:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|l", &x, &limit) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4643:50: error: expected ')' before 'TSRMLS_CC' RETVAL_LONG(SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, stream)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4643:3: note: in expansion of macro 'RETVAL_LONG' RETVAL_LONG(SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, stream)); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4643:31: warning: passing argument 1 of 'SWFMovie_output' makes pointer from integer without a cast [-Wint-conversion] RETVAL_LONG(SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, stream)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4643:3: note: in expansion of macro 'RETVAL_LONG' RETVAL_LONG(SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, stream)); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:1069:5: note: expected 'SWFMovie {aka struct SWFMovie_s *}' but argument is of type 'int' int SWFMovie_output(SWFMovie movie, SWFByteOutputMethod method, void *data); ^~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4665:46: error: expected ')' before 'TSRMLS_CC' retval = SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, (void *)stream); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4665:27: warning: passing argument 1 of 'SWFMovie_output' makes pointer from integer without a cast [-Wint-conversion] retval = SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, (void *)stream); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:1069:5: note: expected 'SWFMovie {aka struct SWFMovie_s *}' but argument is of type 'int' int SWFMovie_output(SWFMovie movie, SWFByteOutputMethod method, void *data); ^~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setBackground': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4681:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4681:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4683:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &r, &g, &b) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4683:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &r, &g, &b) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setRate': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4696:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4696:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4698:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &rate) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4698:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &rate) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setDimension': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4711:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4711:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4713:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4713:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setFrames': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4726:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4726:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4728:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4728:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_addMetadata': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4744:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4744:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4746:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &xml, &xml_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4746:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &xml, &xml_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setScriptLimits': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4759:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4759:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4761:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &maxRecursion, &timeout) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4761:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &maxRecursion, &timeout) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setTabIndex': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4774:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4774:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4776:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &depth, &index) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4776:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &depth, &index) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_assignSymbol': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4792:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4792:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4794:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "os", &zchar, &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4794:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "os", &zchar, &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4798:33: error: expected ')' before 'TSRMLS_CC' character = getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4798:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] character = getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_defineScene': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4810:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4810:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4812:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &offset, &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4812:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &offset, &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setNetworkAccess': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4825:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4825:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4827:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flag) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4827:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flag) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_streamMP3': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4843:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4843:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4845:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|d", &zfile, &skip) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4845:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|d", &zfile, &skip) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4852:43: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4852:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4855:26: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4855:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_setSoundStream': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4888:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4888:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4890:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|d", &zstream, &skip) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4890:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|d", &zstream, &skip) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4894:33: error: expected ')' before 'TSRMLS_CC' sound = getSoundStream(zstream TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4894:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sound = getSoundStream(zstream TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_addExport': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4908:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4908:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4910:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "os", &zchar, &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4910:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "os", &zchar, &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4914:39: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock)getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4914:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock)getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_writeExports': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4924:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4924:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_startSound': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4942:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4942:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4944:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4944:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4948:36: error: expected ')' before 'TSRMLS_CC' sound = (SWFSound)getSound(zsound TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4948:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sound = (SWFSound)getSound(zsound TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_stopSound': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4974:38: error: expected ')' before 'TSRMLS_CC' SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4974:19: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovie movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4976:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4976:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4980:36: error: expected ')' before 'TSRMLS_CC' sound = (SWFSound)getSound(zsound TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4980:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sound = (SWFSound)getSound(zsound TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_importChar': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4999:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &libswf, &libswf_len, &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:4999:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &libswf, &libswf_len, &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5003:29: error: expected ')' before 'TSRMLS_CC' movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5003:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] movie = getMovie(getThis() TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_importFont': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5034:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &libswf, &libswf_len, &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5034:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &libswf, &libswf_len, &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5038:29: error: expected ')' before 'TSRMLS_CC' movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5038:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] movie = getMovie(getThis() TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:99:36: error: expected ')' before 'TSRMLS_CC' if (php_check_open_basedir((file) TSRMLS_CC)) { \ ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5039:2: note: in expansion of macro 'PHP_MING_FILE_CHK' PHP_MING_FILE_CHK(libswf); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_addFont': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5072:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfont) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5072:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfont) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5076:29: error: expected ')' before 'TSRMLS_CC' movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5076:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] movie = getMovie(getThis() TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5077:23: error: expected ')' before 'TSRMLS_CC' font = getFont(zfont TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5077:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] font = getFont(zfont TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_replace': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5105:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "oo", &zitem, &zblock) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5105:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "oo", &zitem, &zblock) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5109:30: error: expected ')' before 'TSRMLS_CC' item = getDisplayItem(zitem TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5109:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] item = getDisplayItem(zitem TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5111:41: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock) getCharacter(zblock TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5111:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock) getCharacter(zblock TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5112:30: error: expected ')' before 'TSRMLS_CC' movie = getMovie(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5112:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] movie = getMovie(getThis() TSRMLS_CC); ^ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfmovie_getRate': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5122:52: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFMovie_getRate(getMovie(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5122:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMovie_getRate(getMovie(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5122:33: warning: passing argument 1 of 'SWFMovie_getRate' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFMovie_getRate(getMovie(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5122:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFMovie_getRate(getMovie(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:1026:7: note: expected 'SWFMovie {aka struct SWFMovie_s *}' but argument is of type 'int' float SWFMovie_getRate(SWFMovie movie); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5196:35: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFShape getShape(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_setLine': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5214:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll|l", &w, &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5214:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll|l", &w, &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5218:19: warning: implicit declaration of function 'getShape'; did you mean 'getchar'? [-Wimplicit-function-declaration] SWFShape_setLine(getShape(getThis() TSRMLS_CC), (unsigned short)w, (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~ getchar /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5218:38: error: expected ')' before 'TSRMLS_CC' SWFShape_setLine(getShape(getThis() TSRMLS_CC), (unsigned short)w, (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5218:19: warning: passing argument 1 of 'SWFShape_setLine' makes pointer from integer without a cast [-Wint-conversion] SWFShape_setLine(getShape(getThis() TSRMLS_CC), (unsigned short)w, (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:951:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_setLine(SWFShape shape, unsigned short width, ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_addSolidFill': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5237:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5237:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5241:51: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5241:32: warning: passing argument 1 of 'SWFShape_addSolidFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:962:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addSolidFill(SWFShape shape, byte r, byte g, byte b, byte a); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5247:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding fill to shape"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5247:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding fill to shape"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_addBitmapFill': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5280:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o!|l", &arg1, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5280:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o!|l", &arg1, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5286:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Argument is not a bitmap"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5286:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Argument is not a bitmap"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5292:52: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5293:26: error: expected ')' before 'TSRMLS_CC' arg1 ? getBitmap(arg1 TSRMLS_CC) : 0, flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5292:33: warning: passing argument 1 of 'SWFShape_addBitmapFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:964:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addBitmapFill(SWFShape shape, SWFBitmap bitmap, byte flags); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5293:4: warning: passing argument 2 of 'SWFShape_addBitmapFill' makes pointer from integer without a cast [-Wint-conversion] arg1 ? getBitmap(arg1 TSRMLS_CC) : 0, flags); ^~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:964:9: note: expected 'SWFBitmap {aka struct SWFCharacter_s *}' but argument is of type 'int' SWFFill SWFShape_addBitmapFill(SWFShape shape, SWFBitmap bitmap, byte flags); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5300:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding bitmap fill to shape"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5300:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding bitmap fill to shape"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_addGradientFill': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5333:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|l", &arg1, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5333:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|l", &arg1, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5341:55: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5341:84: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5341:36: warning: passing argument 1 of 'SWFShape_addGradientFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:963:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addGradientFill(SWFShape shape, SWFGradient gradient, byte flags); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5341:67: warning: passing argument 2 of 'SWFShape_addGradientFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:963:9: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' SWFFill SWFShape_addGradientFill(SWFShape shape, SWFGradient gradient, byte flags); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5346:53: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5346:80: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5346:34: warning: passing argument 1 of 'SWFShape_addBitmapFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:964:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addBitmapFill(SWFShape shape, SWFBitmap bitmap, byte flags); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5346:65: warning: passing argument 2 of 'SWFShape_addBitmapFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:964:9: note: expected 'SWFBitmap {aka struct SWFCharacter_s *}' but argument is of type 'int' SWFFill SWFShape_addBitmapFill(SWFShape shape, SWFBitmap bitmap, byte flags); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5348:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Argument is not a bitmap nor a gradient"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5348:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Argument is not a bitmap nor a gradient"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5356:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding fill to shape"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5356:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding fill to shape"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_addFill': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5389:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|l", &arg1, &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5389:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o|l", &arg1, &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5397:55: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5397:84: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5397:36: warning: passing argument 1 of 'SWFShape_addGradientFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:963:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addGradientFill(SWFShape shape, SWFGradient gradient, byte flags); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5397:67: warning: passing argument 2 of 'SWFShape_addGradientFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addGradientFill(getShape(getThis() TSRMLS_CC), getGradient(arg1 TSRMLS_CC), flags); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:963:9: note: expected 'SWFGradient {aka struct SWFGradient_s *}' but argument is of type 'int' SWFFill SWFShape_addGradientFill(SWFShape shape, SWFGradient gradient, byte flags); ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5402:53: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5402:80: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5402:34: warning: passing argument 1 of 'SWFShape_addBitmapFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:964:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addBitmapFill(SWFShape shape, SWFBitmap bitmap, byte flags); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5402:65: warning: passing argument 2 of 'SWFShape_addBitmapFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addBitmapFill(getShape(getThis() TSRMLS_CC), getBitmap(arg1 TSRMLS_CC), flags); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:964:9: note: expected 'SWFBitmap {aka struct SWFCharacter_s *}' but argument is of type 'int' SWFFill SWFShape_addBitmapFill(SWFShape shape, SWFBitmap bitmap, byte flags); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5404:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Argument is not a bitmap nor a gradient"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5404:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Argument is not a bitmap nor a gradient"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5411:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5411:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5415:51: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5415:32: warning: passing argument 1 of 'SWFShape_addSolidFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:962:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addSolidFill(SWFShape shape, byte r, byte g, byte b, byte a); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5421:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding fill to shape"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5421:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error adding fill to shape"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_setLeftFill': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5447:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfill) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5447:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfill) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5450:24: error: expected ')' before 'TSRMLS_CC' fill = getFill(zfill TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5450:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fill = getFill(zfill TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5453:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5453:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5456:51: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5456:32: warning: passing argument 1 of 'SWFShape_addSolidFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:962:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addSolidFill(SWFShape shape, byte r, byte g, byte b, byte a); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5459:42: error: expected ')' before 'TSRMLS_CC' SWFShape_setLeftFill(getShape(getThis() TSRMLS_CC), fill); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5459:23: warning: passing argument 1 of 'SWFShape_setLeftFill' makes pointer from integer without a cast [-Wint-conversion] SWFShape_setLeftFill(getShape(getThis() TSRMLS_CC), fill); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:966:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_setLeftFill(SWFShape shape, SWFFill fill); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_setRightFill': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5472:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfill) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5472:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfill) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5475:24: error: expected ')' before 'TSRMLS_CC' fill = getFill(zfill TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5475:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] fill = getFill(zfill TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5478:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5478:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5481:51: error: expected ')' before 'TSRMLS_CC' fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5481:32: warning: passing argument 1 of 'SWFShape_addSolidFill' makes pointer from integer without a cast [-Wint-conversion] fill = SWFShape_addSolidFill(getShape(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:962:9: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' SWFFill SWFShape_addSolidFill(SWFShape shape, byte r, byte g, byte b, byte a); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5484:43: error: expected ')' before 'TSRMLS_CC' SWFShape_setRightFill(getShape(getThis() TSRMLS_CC), fill); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5484:24: warning: passing argument 1 of 'SWFShape_setRightFill' makes pointer from integer without a cast [-Wint-conversion] SWFShape_setRightFill(getShape(getThis() TSRMLS_CC), fill); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:967:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_setRightFill(SWFShape shape, SWFFill fill); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_movePenTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5494:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5494:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5498:40: error: expected ')' before 'TSRMLS_CC' SWFShape_movePenTo(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5498:21: warning: passing argument 1 of 'SWFShape_movePenTo' makes pointer from integer without a cast [-Wint-conversion] SWFShape_movePenTo(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:373:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_movePenTo(SWFShape shape, double x, double y); ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_movePen': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5508:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5508:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5512:38: error: expected ')' before 'TSRMLS_CC' SWFShape_movePen(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5512:19: warning: passing argument 1 of 'SWFShape_movePen' makes pointer from integer without a cast [-Wint-conversion] SWFShape_movePen(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:374:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_movePen(SWFShape shape, double x, double y); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawLineTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5522:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5522:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5526:41: error: expected ')' before 'TSRMLS_CC' SWFShape_drawLineTo(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5526:22: warning: passing argument 1 of 'SWFShape_drawLineTo' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawLineTo(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:381:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawLineTo(SWFShape shape, double x, double y); ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawLine': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5536:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5536:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5540:39: error: expected ')' before 'TSRMLS_CC' SWFShape_drawLine(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5540:20: warning: passing argument 1 of 'SWFShape_drawLine' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawLine(getShape(getThis() TSRMLS_CC), x, y); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:382:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawLine(SWFShape shape, double dx, double dy); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawCurveTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5551:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &cx, &cy, &ax, &ay) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5551:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &cx, &cy, &ax, &ay) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5555:43: error: expected ')' before 'TSRMLS_CC' SWFShape_drawCurveTo(getShape(getThis() TSRMLS_CC), cx, cy, ax, ay); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5555:24: warning: passing argument 1 of 'SWFShape_drawCurveTo' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawCurveTo(getShape(getThis() TSRMLS_CC), cx, cy, ax, ay); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:384:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawCurveTo(SWFShape shape, double controlx, double controly, ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5559:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5559:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5563:55: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5563:3: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5563:36: warning: passing argument 1 of 'SWFShape_drawCubicTo' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5563:3: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:983:5: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' int SWFShape_drawCubicTo(SWFShape shape, double bx, double by, ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawCurve': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5577:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &cx, &cy, &ax, &ay) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5577:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddd", &cx, &cy, &ax, &ay) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5581:41: error: expected ')' before 'TSRMLS_CC' SWFShape_drawCurve(getShape(getThis() TSRMLS_CC), cx, cy, ax, ay); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5581:22: warning: passing argument 1 of 'SWFShape_drawCurve' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawCurve(getShape(getThis() TSRMLS_CC), cx, cy, ax, ay); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:386:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawCurve(SWFShape shape, double controldx, double controldy, ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5585:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5585:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5589:53: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5589:3: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5589:34: warning: passing argument 1 of 'SWFShape_drawCubic' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5589:3: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:981:5: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' int SWFShape_drawCubic(SWFShape shape, double bx, double by, ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawGlyph': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5605:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "os|l", &font, &c, &c_len, &size) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5605:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "os|l", &font, &c, &c_len, &size) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5608:45: error: expected ')' before 'TSRMLS_CC' SWFShape_drawSizedGlyph(getShape(getThis() TSRMLS_CC), getFont(font TSRMLS_CC), c[0], size); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5608:70: error: expected ')' before 'TSRMLS_CC' SWFShape_drawSizedGlyph(getShape(getThis() TSRMLS_CC), getFont(font TSRMLS_CC), c[0], size); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5608:26: warning: passing argument 1 of 'SWFShape_drawSizedGlyph' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawSizedGlyph(getShape(getThis() TSRMLS_CC), getFont(font TSRMLS_CC), c[0], size); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:974:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawSizedGlyph(SWFShape shape, SWFFont font, unsigned short c, int size); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5608:57: warning: passing argument 2 of 'SWFShape_drawSizedGlyph' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawSizedGlyph(getShape(getThis() TSRMLS_CC), getFont(font TSRMLS_CC), c[0], size); ^~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:974:6: note: expected 'SWFFont {aka struct SWFFont_s *}' but argument is of type 'int' void SWFShape_drawSizedGlyph(SWFShape shape, SWFFont font, unsigned short c, int size); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawCircle': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5618:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &r) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5618:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &r) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5622:41: error: expected ')' before 'TSRMLS_CC' SWFShape_drawCircle(getShape(getThis() TSRMLS_CC), r); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5622:22: warning: passing argument 1 of 'SWFShape_drawCircle' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawCircle(getShape(getThis() TSRMLS_CC), r); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:970:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawCircle(SWFShape shape, double r); ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawArc': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5632:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &r, &start, &end) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5632:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddd", &r, &start, &end) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5637:38: error: expected ')' before 'TSRMLS_CC' SWFShape_drawArc(getShape(getThis() TSRMLS_CC), r, start, end); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5637:19: warning: passing argument 1 of 'SWFShape_drawArc' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawArc(getShape(getThis() TSRMLS_CC), r, start, end); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:969:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawArc(SWFShape shape, double r, double startAngle, double endAngle); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawCubic': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5647:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5647:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5651:52: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5651:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5651:33: warning: passing argument 1 of 'SWFShape_drawCubic' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5651:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubic(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:981:5: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' int SWFShape_drawCubic(SWFShape shape, double bx, double by, ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawCubicTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5661:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5661:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dddddd", &bx, &by, &cx, &cy, &dx, &dy) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5665:54: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5665:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5665:35: warning: passing argument 1 of 'SWFShape_drawCubicTo' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5665:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_drawCubicTo(getShape(getThis() TSRMLS_CC), bx, by, cx, cy, dx, dy)); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:983:5: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' int SWFShape_drawCubicTo(SWFShape shape, double bx, double by, ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_end': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5676:34: error: expected ')' before 'TSRMLS_CC' SWFShape_end(getShape(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5676:15: warning: passing argument 1 of 'SWFShape_end' makes pointer from integer without a cast [-Wint-conversion] SWFShape_end(getShape(getThis() TSRMLS_CC)); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:368:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_end(SWFShape shape); ^~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_useVersion': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5688:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ver) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5688:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &ver) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5692:41: error: expected ')' before 'TSRMLS_CC' SWFShape_useVersion(getShape(getThis() TSRMLS_CC), ver); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5692:22: warning: passing argument 1 of 'SWFShape_useVersion' makes pointer from integer without a cast [-Wint-conversion] SWFShape_useVersion(getShape(getThis() TSRMLS_CC), ver); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:369:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_useVersion(SWFShape shape, int version); ^~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_getVersion': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5703:53: error: expected ')' before 'TSRMLS_CC' RETURN_LONG(SWFShape_getVersion(getShape(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5703:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_getVersion(getShape(getThis() TSRMLS_CC))); ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5703:34: warning: passing argument 1 of 'SWFShape_getVersion' makes pointer from integer without a cast [-Wint-conversion] RETURN_LONG(SWFShape_getVersion(getShape(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:898:19: note: in definition of macro 'ZVAL_LONG' Z_LVAL_P(__z) = l; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:736:33: note: in expansion of macro 'RETVAL_LONG' #define RETURN_LONG(l) do { RETVAL_LONG(l); return; } while (0) ^~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5703:2: note: in expansion of macro 'RETURN_LONG' RETURN_LONG(SWFShape_getVersion(getShape(getThis() TSRMLS_CC))); ^~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:370:5: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' int SWFShape_getVersion(SWFShape shape); ^~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_setRenderHintingFlags': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5715:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5715:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5719:52: error: expected ')' before 'TSRMLS_CC' SWFShape_setRenderHintingFlags(getShape(getThis() TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5719:33: warning: passing argument 1 of 'SWFShape_setRenderHintingFlags' makes pointer from integer without a cast [-Wint-conversion] SWFShape_setRenderHintingFlags(getShape(getThis() TSRMLS_CC), flags); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:371:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_setRenderHintingFlags(SWFShape shape, int flags); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_getPenX': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5730:52: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFShape_getPenX(getShape(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5730:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFShape_getPenX(getShape(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5730:33: warning: passing argument 1 of 'SWFShape_getPenX' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFShape_getPenX(getShape(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5730:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFShape_getPenX(getShape(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:376:8: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' double SWFShape_getPenX(SWFShape shape); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_getPenY': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5741:52: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFShape_getPenY(getShape(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5741:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFShape_getPenY(getShape(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5741:33: warning: passing argument 1 of 'SWFShape_getPenY' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFShape_getPenY(getShape(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5741:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFShape_getPenY(getShape(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:377:8: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' double SWFShape_getPenY(SWFShape shape); ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_hideLine': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5752:39: error: expected ')' before 'TSRMLS_CC' SWFShape_hideLine(getShape(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5752:20: warning: passing argument 1 of 'SWFShape_hideLine' makes pointer from integer without a cast [-Wint-conversion] SWFShape_hideLine(getShape(getThis() TSRMLS_CC)); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:400:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_hideLine(SWFShape shape); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_drawCharacterBounds': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5761:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &character) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5761:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &character) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5765:50: error: expected ')' before 'TSRMLS_CC' SWFShape_drawCharacterBounds(getShape(getThis() TSRMLS_CC), ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5766:26: error: expected ')' before 'TSRMLS_CC' getCharacter(character TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5765:31: warning: passing argument 1 of 'SWFShape_drawCharacterBounds' makes pointer from integer without a cast [-Wint-conversion] SWFShape_drawCharacterBounds(getShape(getThis() TSRMLS_CC), ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:985:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_drawCharacterBounds(SWFShape shape, SWFCharacter character); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5766:3: warning: passing argument 2 of 'SWFShape_drawCharacterBounds' makes pointer from integer without a cast [-Wint-conversion] getCharacter(character TSRMLS_CC)); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:985:6: note: expected 'SWFCharacter {aka struct SWFCharacter_s *}' but argument is of type 'int' void SWFShape_drawCharacterBounds(SWFShape shape, SWFCharacter character); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_setLine2': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5808:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lldlll|l", &width, &flags, &limit, &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5808:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lldlll|l", &width, &flags, &limit, &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5812:39: error: expected ')' before 'TSRMLS_CC' SWFShape_setLine2(getShape(getThis() TSRMLS_CC), width, r, g, b, a, flags, limit); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5812:20: warning: passing argument 1 of 'SWFShape_setLine2' makes pointer from integer without a cast [-Wint-conversion] SWFShape_setLine2(getShape(getThis() TSRMLS_CC), width, r, g, b, a, flags, limit); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:958:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_setLine2(SWFShape shape, unsigned short width, ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_setLine2Filled': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5856:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lold", &width, &fill, &flags, &limit) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5856:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lold", &width, &fill, &flags, &limit) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5860:23: error: expected ')' before 'TSRMLS_CC' xfill = getFill(fill TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5860:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] xfill = getFill(fill TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5861:45: error: expected ')' before 'TSRMLS_CC' SWFShape_setLine2Filled(getShape(getThis() TSRMLS_CC), width, SWFFill_getFillStyle(xfill), flags, limit); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5861:26: warning: passing argument 1 of 'SWFShape_setLine2Filled' makes pointer from integer without a cast [-Wint-conversion] SWFShape_setLine2Filled(getShape(getThis() TSRMLS_CC), width, SWFFill_getFillStyle(xfill), flags, limit); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:954:6: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' void SWFShape_setLine2Filled(SWFShape shape, unsigned short width, ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfshape_dumpOutline': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5873:48: error: expected ')' before 'TSRMLS_CC' out = SWFShape_dumpOutline(getShape(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5873:29: warning: passing argument 1 of 'SWFShape_dumpOutline' makes pointer from integer without a cast [-Wint-conversion] out = SWFShape_dumpOutline(getShape(getThis() TSRMLS_CC)); ^~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:412:7: note: expected 'SWFShape {aka struct SWFShape_s *}' but argument is of type 'int' char *SWFShape_dumpOutline(SWFShape s); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5950:40: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFMovieClip getSprite(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_add': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5973:24: warning: implicit declaration of function 'getSprite'; did you mean 'getpgid'? [-Wimplicit-function-declaration] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ getpgid /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5973:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5973:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5975:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5975:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5980:37: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock)getAction(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5980:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock)getAction(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5982:40: error: expected ')' before 'TSRMLS_CC' block = (SWFBlock)getCharacter(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:5982:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] block = (SWFBlock)getCharacter(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_remove': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6009:43: error: expected ')' before 'TSRMLS_CC' SWFMovieClip movie = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6009:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip movie = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6011:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6011:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zchar) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6015:30: error: expected ')' before 'TSRMLS_CC' item = getDisplayItem(zchar TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6015:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] item = getDisplayItem(zchar TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_nextFrame': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6024:45: error: expected ')' before 'TSRMLS_CC' SWFMovieClip_nextFrame(getSprite(getThis() TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6024:25: warning: passing argument 1 of 'SWFMovieClip_nextFrame' makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip_nextFrame(getSprite(getThis() TSRMLS_CC)); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:994:6: note: expected 'SWFMovieClip {aka struct SWFMovieClip_s *}' but argument is of type 'int' void SWFMovieClip_nextFrame(SWFMovieClip clip); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_labelFrame': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6035:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6035:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &label, &label_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6039:46: error: expected ')' before 'TSRMLS_CC' SWFMovieClip_labelFrame(getSprite(getThis() TSRMLS_CC), label); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6039:26: warning: passing argument 1 of 'SWFMovieClip_labelFrame' makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip_labelFrame(getSprite(getThis() TSRMLS_CC), label); ^~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:995:6: note: expected 'SWFMovieClip {aka struct SWFMovieClip_s *}' but argument is of type 'int' void SWFMovieClip_labelFrame(SWFMovieClip clip, const char *label); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_setFrames': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6048:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6048:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6050:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6050:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &frames) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_startSound': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6071:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6071:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6073:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6073:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6076:36: error: expected ')' before 'TSRMLS_CC' sound = (SWFSound)getSound(zsound TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6076:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sound = (SWFSound)getSound(zsound TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_stopSound': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6102:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6102:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6104:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6104:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zsound) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6107:36: error: expected ')' before 'TSRMLS_CC' sound = (SWFSound)getSound(zsound TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6107:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sound = (SWFSound)getSound(zsound TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_setSoundStream': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6121:40: error: expected ')' before 'TSRMLS_CC' SWFMovieClip mc = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6121:20: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip mc = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6123:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd|d", &zfile, &rate, &skip) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6123:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zd|d", &zfile, &rate, &skip) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6130:43: error: expected ')' before 'TSRMLS_CC' input = getInput_fromFileResource(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6130:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput_fromFileResource(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6133:8: warning: implicit declaration of function 'isInput' [-Wimplicit-function-declaration] if ( isInput(zfile TSRMLS_CC) ) ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6133:22: error: expected ')' before 'TSRMLS_CC' if ( isInput(zfile TSRMLS_CC) ) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6135:27: error: expected ')' before 'TSRMLS_CC' input = getInput(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6135:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] input = getInput(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6139:33: error: expected ')' before 'TSRMLS_CC' sound = getSoundStream(zfile TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6139:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] sound = getSoundStream(zfile TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_setScalingGrid': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6173:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6173:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6175:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &zx, &zy, &zw, &zh) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6175:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llll", &zx, &zy, &zw, &zh) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_removeScalingGrid': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6186:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6186:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swfsprite_addInitAction': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6200:44: error: expected ')' before 'TSRMLS_CC' SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6200:24: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFMovieClip sprite = getSprite(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6203:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zaction) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6203:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zaction) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6207:29: error: expected ')' before 'TSRMLS_CC' action = getAction(zaction TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6207:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion] action = getAction(zaction TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6261:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &version) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6261:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &version) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6294:33: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFText getText(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_setFont': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6310:17: warning: implicit declaration of function 'getText'; did you mean 'cgetnext'? [-Wimplicit-function-declaration] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ cgetnext /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6310:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6310:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6313:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfont) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6313:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &zfont) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6317:23: error: expected ')' before 'TSRMLS_CC' font = getFont(zfont TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6317:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] font = getFont(zfont TSRMLS_CC); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_setHeight': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6327:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6327:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6329:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &height) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6329:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &height) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_setSpacing': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6342:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6342:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6344:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6344:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_setColor': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6357:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6357:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6359:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6359:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_moveTo': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6372:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6372:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6374:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6374:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &x, &y) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_addString': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6388:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6388:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6390:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &s, &s_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6390:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &s, &s_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_addUTF8String': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6407:35: error: expected ')' before 'TSRMLS_CC' SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6407:17: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFText text = getText(getThis() TSRMLS_CC); ^~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6409:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &s, &s_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6409:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &s, &s_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_getWidth': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6444:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6444:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6448:57: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFText_getStringWidth(getText(getThis() TSRMLS_CC), string)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6448:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getStringWidth(getText(getThis() TSRMLS_CC), string)); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6448:39: warning: passing argument 1 of 'SWFText_getStringWidth' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFText_getStringWidth(getText(getThis() TSRMLS_CC), string)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6448:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getStringWidth(getText(getThis() TSRMLS_CC), string)); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:470:7: note: expected 'SWFText {aka struct SWFText_s *}' but argument is of type 'int' float SWFText_getStringWidth(SWFText text, const char* string); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_getUTF8Width': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6461:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6461:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &string, &string_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6465:61: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFText_getUTF8StringWidth(getText(getThis() TSRMLS_CC), string)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6465:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getUTF8StringWidth(getText(getThis() TSRMLS_CC), string)); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6465:43: warning: passing argument 1 of 'SWFText_getUTF8StringWidth' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFText_getUTF8StringWidth(getText(getThis() TSRMLS_CC), string)); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6465:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getUTF8StringWidth(getText(getThis() TSRMLS_CC), string)); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:471:7: note: expected 'SWFText {aka struct SWFText_s *}' but argument is of type 'int' float SWFText_getUTF8StringWidth(SWFText text, const char* string); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_getAscent': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6494:52: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFText_getAscent(getText(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6494:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getAscent(getText(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6494:34: warning: passing argument 1 of 'SWFText_getAscent' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFText_getAscent(getText(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6494:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getAscent(getText(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:477:7: note: expected 'SWFText {aka struct SWFText_s *}' but argument is of type 'int' float SWFText_getAscent(SWFText text); ^~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_getDescent': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6505:53: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFText_getDescent(getText(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6505:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getDescent(getText(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6505:35: warning: passing argument 1 of 'SWFText_getDescent' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFText_getDescent(getText(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6505:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getDescent(getText(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:478:7: note: expected 'SWFText {aka struct SWFText_s *}' but argument is of type 'int' float SWFText_getDescent(SWFText text); ^~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend.h:27:0, from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:31, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftext_getLeading': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6516:53: error: expected ')' before 'TSRMLS_CC' RETURN_DOUBLE(SWFText_getLeading(getText(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6516:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getLeading(getText(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6516:35: warning: passing argument 1 of 'SWFText_getLeading' makes pointer from integer without a cast [-Wint-conversion] RETURN_DOUBLE(SWFText_getLeading(getText(getThis() TSRMLS_CC))); ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_types.h:904:19: note: in definition of macro 'ZVAL_DOUBLE' Z_DVAL_P(__z) = d; \ ^ /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:737:34: note: in expansion of macro 'RETVAL_DOUBLE' #define RETURN_DOUBLE(d) do { RETVAL_DOUBLE(d); return; } while (0) ^~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6516:2: note: in expansion of macro 'RETURN_DOUBLE' RETURN_DOUBLE(SWFText_getLeading(getText(getThis() TSRMLS_CC))); ^~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:479:7: note: expected 'SWFText {aka struct SWFText_s *}' but argument is of type 'int' float SWFText_getLeading(SWFText text); ^~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield___construct': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6565:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6565:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: At top level: /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6584:43: error: expected ';', ',' or ')' before 'TSRMLS_DC' static SWFTextField getTextField(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6598:37: error: expected ';', ',' or ')' before 'TSRMLS_DC' SWFBlock getFontOrFontChar(zval *id TSRMLS_DC) ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setFont': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6613:23: warning: implicit declaration of function 'getTextField'; did you mean 'newSWFTextField'? [-Wimplicit-function-declaration] SWFTextField field = getTextField(getThis() TSRMLS_CC); ^~~~~~~~~~~~ newSWFTextField /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6613:46: error: expected ')' before 'TSRMLS_CC' SWFTextField field = getTextField(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6613:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFTextField field = getTextField(getThis() TSRMLS_CC); ^~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6615:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &font) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6615:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &font) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6622:31: warning: implicit declaration of function 'getFontOrFontChar' [-Wimplicit-function-declaration] SWFTextField_setFont(field, getFontOrFontChar(font TSRMLS_CC)); ^~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6622:54: error: expected ')' before 'TSRMLS_CC' SWFTextField_setFont(field, getFontOrFontChar(font TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6622:31: warning: passing argument 2 of 'SWFTextField_setFont' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setFont(field, getFontOrFontChar(font TSRMLS_CC)); ^~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:525:6: note: expected 'SWFBlock {aka struct SWFBlock_s *}' but argument is of type 'int' void SWFTextField_setFont(SWFTextField field, SWFBlock font); ^~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6626:41: warning: implicit declaration of function 'getBrowserFont'; did you mean 'newSWFBrowserFont'? [-Wimplicit-function-declaration] SWFTextField_setFont(field, (SWFBlock)getBrowserFont(font TSRMLS_CC)); ^~~~~~~~~~~~~~ newSWFBrowserFont /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6626:61: error: expected ')' before 'TSRMLS_CC' SWFTextField_setFont(field, (SWFBlock)getBrowserFont(font TSRMLS_CC)); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6626:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SWFTextField_setFont(field, (SWFBlock)getBrowserFont(font TSRMLS_CC)); ^ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setBounds': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6640:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &width, &height) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6640:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &width, &height) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6644:48: error: expected ')' before 'TSRMLS_CC' SWFTextField_setBounds(getTextField(getThis() TSRMLS_CC), width, height); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6644:25: warning: passing argument 1 of 'SWFTextField_setBounds' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setBounds(getTextField(getThis() TSRMLS_CC), width, height); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:526:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setBounds(SWFTextField field, float width, float height); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setFlags': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6654:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &flags) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6654:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &flags) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6658:47: error: expected ')' before 'TSRMLS_CC' SWFTextField_setFlags(getTextField(getThis() TSRMLS_CC), flags); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6658:24: warning: passing argument 1 of 'SWFTextField_setFlags' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setFlags(getTextField(getThis() TSRMLS_CC), flags); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:527:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setFlags(SWFTextField field, int flags); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_align': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6669:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &align) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6669:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &align) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6673:51: error: expected ')' before 'TSRMLS_CC' SWFTextField_setAlignment(getTextField(getThis() TSRMLS_CC), align); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6673:28: warning: passing argument 1 of 'SWFTextField_setAlignment' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setAlignment(getTextField(getThis() TSRMLS_CC), align); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:547:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setAlignment(SWFTextField field, ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setHeight': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6683:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &height) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6683:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &height) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6687:48: error: expected ')' before 'TSRMLS_CC' SWFTextField_setHeight(getTextField(getThis() TSRMLS_CC), height); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6687:25: warning: passing argument 1 of 'SWFTextField_setHeight' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setHeight(getTextField(getThis() TSRMLS_CC), height); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:534:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setHeight(SWFTextField field, float height); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setLeftMargin': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6697:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &margin) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6697:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &margin) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6701:52: error: expected ')' before 'TSRMLS_CC' SWFTextField_setLeftMargin(getTextField(getThis() TSRMLS_CC), margin); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6701:29: warning: passing argument 1 of 'SWFTextField_setLeftMargin' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setLeftMargin(getTextField(getThis() TSRMLS_CC), margin); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:536:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setLeftMargin(SWFTextField field, float leftMargin); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setRightMargin': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6711:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &margin) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6711:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &margin) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6715:53: error: expected ')' before 'TSRMLS_CC' SWFTextField_setRightMargin(getTextField(getThis() TSRMLS_CC), margin); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6715:30: warning: passing argument 1 of 'SWFTextField_setRightMargin' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setRightMargin(getTextField(getThis() TSRMLS_CC), margin); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:537:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setRightMargin(SWFTextField field, float rightMargin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setMargins': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6724:46: error: expected ')' before 'TSRMLS_CC' SWFTextField field = getTextField(getThis() TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6724:23: warning: initialization makes pointer from integer without a cast [-Wint-conversion] SWFTextField field = getTextField(getThis() TSRMLS_CC); ^~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6726:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &left, &right) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6726:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "dd", &left, &right) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setIndentation': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6741:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &indent) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6741:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &indent) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6745:53: error: expected ')' before 'TSRMLS_CC' SWFTextField_setIndentation(getTextField(getThis() TSRMLS_CC), indent); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6745:30: warning: passing argument 1 of 'SWFTextField_setIndentation' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setIndentation(getTextField(getThis() TSRMLS_CC), indent); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:538:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setIndentation(SWFTextField field, float indentation); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setLineSpacing': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6755:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6755:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &spacing) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6759:53: error: expected ')' before 'TSRMLS_CC' SWFTextField_setLineSpacing(getTextField(getThis() TSRMLS_CC), spacing); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6759:30: warning: passing argument 1 of 'SWFTextField_setLineSpacing' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setLineSpacing(getTextField(getThis() TSRMLS_CC), spacing); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:539:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setLineSpacing(SWFTextField field, float lineSpacing); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setColor': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6769:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6769:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll|l", &r, &g, &b, &a) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6772:47: error: expected ')' before 'TSRMLS_CC' SWFTextField_setColor(getTextField(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6772:24: warning: passing argument 1 of 'SWFTextField_setColor' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setColor(getTextField(getThis() TSRMLS_CC), (byte)r, (byte)g, (byte)b, (byte)a); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:528:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setColor(SWFTextField field, byte r, byte g, byte b, byte a); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setName': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6783:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6783:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6787:54: error: expected ')' before 'TSRMLS_CC' SWFTextField_setVariableName(getTextField(getThis() TSRMLS_CC), name); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6787:31: warning: passing argument 1 of 'SWFTextField_setVariableName' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setVariableName(getTextField(getThis() TSRMLS_CC), name); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:529:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setVariableName(SWFTextField field, const char *name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_addString': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6798:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6798:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6802:48: error: expected ')' before 'TSRMLS_CC' SWFTextField_addString(getTextField(getThis() TSRMLS_CC), str); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6802:25: warning: passing argument 1 of 'SWFTextField_addString' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_addString(getTextField(getThis() TSRMLS_CC), str); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:531:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_addString(SWFTextField field, const char *string); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_addUTF8String': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6813:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6813:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6817:52: error: expected ')' before 'TSRMLS_CC' SWFTextField_addUTF8String(getTextField(getThis() TSRMLS_CC), str); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6817:29: warning: passing argument 1 of 'SWFTextField_addUTF8String' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_addUTF8String(getTextField(getThis() TSRMLS_CC), str); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:532:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_addUTF8String(SWFTextField field, const char *string); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setPadding': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6829:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &padding) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6829:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &padding) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6833:49: error: expected ')' before 'TSRMLS_CC' SWFTextField_setPadding(getTextField(getThis() TSRMLS_CC), padding); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6833:26: warning: passing argument 1 of 'SWFTextField_setPadding' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setPadding(getTextField(getThis() TSRMLS_CC), padding); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:540:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setPadding(SWFTextField field, float padding); ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_addChars': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6844:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6844:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &str, &str_len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6848:47: error: expected ')' before 'TSRMLS_CC' SWFTextField_addChars(getTextField(getThis() TSRMLS_CC), str); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6848:24: warning: passing argument 1 of 'SWFTextField_addChars' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_addChars(getTextField(getThis() TSRMLS_CC), str); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:542:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_addChars(SWFTextField field, const char *string); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setLength': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6858:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &len) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6858:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6862:48: error: expected ')' before 'TSRMLS_CC' SWFTextField_setLength(getTextField(getThis() TSRMLS_CC), len); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6862:25: warning: passing argument 1 of 'SWFTextField_setLength' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setLength(getTextField(getThis() TSRMLS_CC), len); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:549:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setLength(SWFTextField field, int length); ^~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zim_swftextfield_setFieldHeight': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6871:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &h) == FAILURE) { ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6871:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &h) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:35:0, from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30: /tmp/multimedia/php-ming/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6875:53: error: expected ')' before 'TSRMLS_CC' SWFTextField_setFieldHeight(getTextField(getThis() TSRMLS_CC), h); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6875:30: warning: passing argument 1 of 'SWFTextField_setFieldHeight' makes pointer from integer without a cast [-Wint-conversion] SWFTextField_setFieldHeight(getTextField(getThis() TSRMLS_CC), h); ^~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:42:0: /tmp/multimedia/php-ming/work/.buildlink/include/ming.h:535:6: note: expected 'SWFTextField {aka struct SWFTextField_s *}' but argument is of type 'int' void SWFTextField_setFieldHeight(SWFTextField field, float height); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'php_ming_error': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6968:24: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "%s", buffer); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6968:2: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "%s", buffer); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zm_activate_ming': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6983:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error initializing Ming module"); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:6983:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error initializing Ming module"); ^~~~~~~~~~~~~~~~ In file included from /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:30:0: /tmp/multimedia/php-ming/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c: In function 'zm_startup_ming': /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7265:74: error: expected ')' before 'TSRMLS_CC' shape_class_entry_ptr = zend_register_internal_class(&shape_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7266:72: error: expected ')' before 'TSRMLS_CC' fill_class_entry_ptr = zend_register_internal_class(&fill_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7267:80: error: expected ')' before 'TSRMLS_CC' gradient_class_entry_ptr = zend_register_internal_class(&gradient_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7268:76: error: expected ')' before 'TSRMLS_CC' bitmap_class_entry_ptr = zend_register_internal_class(&bitmap_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7269:72: error: expected ')' before 'TSRMLS_CC' text_class_entry_ptr = zend_register_internal_class(&text_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7270:82: error: expected ')' before 'TSRMLS_CC' textfield_class_entry_ptr = zend_register_internal_class(&textfield_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7271:72: error: expected ')' before 'TSRMLS_CC' font_class_entry_ptr = zend_register_internal_class(&font_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7272:86: error: expected ')' before 'TSRMLS_CC' displayitem_class_entry_ptr = zend_register_internal_class(&displayitem_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7273:74: error: expected ')' before 'TSRMLS_CC' movie_class_entry_ptr = zend_register_internal_class(&movie_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7274:76: error: expected ')' before 'TSRMLS_CC' button_class_entry_ptr = zend_register_internal_class(&button_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7275:76: error: expected ')' before 'TSRMLS_CC' action_class_entry_ptr = zend_register_internal_class(&action_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7276:74: error: expected ')' before 'TSRMLS_CC' morph_class_entry_ptr = zend_register_internal_class(&morph_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7277:82: error: expected ')' before 'TSRMLS_CC' movieclip_class_entry_ptr = zend_register_internal_class(&movieclip_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7278:76: error: expected ')' before 'TSRMLS_CC' sprite_class_entry_ptr = zend_register_internal_class(&sprite_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7279:74: error: expected ')' before 'TSRMLS_CC' sound_class_entry_ptr = zend_register_internal_class(&sound_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7281:80: error: expected ')' before 'TSRMLS_CC' fontchar_class_entry_ptr = zend_register_internal_class(&fontchar_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7282:88: error: expected ')' before 'TSRMLS_CC' buttonrecord_class_entry_ptr = zend_register_internal_class(&buttonrecord_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7283:90: error: expected ')' before 'TSRMLS_CC' soundinstance_class_entry_ptr = zend_register_internal_class(&soundinstance_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7284:86: error: expected ')' before 'TSRMLS_CC' videostream_class_entry_ptr = zend_register_internal_class(&videostream_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7285:84: error: expected ')' before 'TSRMLS_CC' binarydata_class_entry_ptr = zend_register_internal_class(&binarydata_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7286:84: error: expected ')' before 'TSRMLS_CC' initaction_class_entry_ptr = zend_register_internal_class(&initaction_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7287:88: error: expected ')' before 'TSRMLS_CC' prebuiltclip_class_entry_ptr = zend_register_internal_class(&prebuiltclip_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7288:86: error: expected ')' before 'TSRMLS_CC' soundstream_class_entry_ptr = zend_register_internal_class(&soundstream_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7289:76: error: expected ')' before 'TSRMLS_CC' filter_class_entry_ptr = zend_register_internal_class(&filter_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7290:88: error: expected ')' before 'TSRMLS_CC' filtermatrix_class_entry_ptr = zend_register_internal_class(&filtermatrix_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7291:76: error: expected ')' before 'TSRMLS_CC' shadow_class_entry_ptr = zend_register_internal_class(&shadow_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7292:72: error: expected ')' before 'TSRMLS_CC' blur_class_entry_ptr = zend_register_internal_class(&blur_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7293:76: error: expected ')' before 'TSRMLS_CC' cxform_class_entry_ptr = zend_register_internal_class(&cxform_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7294:76: error: expected ')' before 'TSRMLS_CC' matrix_class_entry_ptr = zend_register_internal_class(&matrix_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7295:74: error: expected ')' before 'TSRMLS_CC' input_class_entry_ptr = zend_register_internal_class(&input_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7296:86: error: expected ')' before 'TSRMLS_CC' browserfont_class_entry_ptr = zend_register_internal_class(&browserfont_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7297:92: error: expected ')' before 'TSRMLS_CC' fontcollection_class_entry_ptr = zend_register_internal_class(&fontcollection_class_entry TSRMLS_CC); ^~~~~~~~~ /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext/ming.c:7299:82: error: expected ')' before 'TSRMLS_CC' character_class_entry_ptr = zend_register_internal_class(&character_class_entry TSRMLS_CC); ^~~~~~~~~ *** [ming.lo] Error code 1 make: stopped in /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext 1 error make: stopped in /tmp/multimedia/php-ming/work/libming-ming-0_4_8/php_ext *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/php-ming *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/multimedia/php-ming