php-ext.com / fann (from pecl using PHP 8.0.5-zts-buster)
Dockerfile
FROM php:8.0.5-zts-buster
WORKDIR /tmp
RUN apt update && \
apt install -y --no-install-recommends git subversion autoconf build-essential && \
apt install -y --no-install-recommends libfann-dev && \
rm -rf /var/lib/apt/lists/*
RUN pecl install --force fann && \
pecl run-tests fann
Build output FAIL
11ss
Step 1/4 : FROM php:8.0.5-zts-buster
---> e89b8bc8c67a
Step 2/4 : WORKDIR /tmp
---> Running in e12aa5961a04
Removing intermediate container e12aa5961a04
---> c036c5dccd7a
Step 3/4 : RUN apt update && apt install -y --no-install-recommends git subversion autoconf build-essential && apt install -y --no-install-recommends libfann-dev && rm -rf /var/lib/apt/lists/*
---> Running in 62220771f383
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [121 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [285 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [10.9 kB]
Fetched 8441 kB in 2s (5505 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
WARNING:
apt
does not have a stable CLI interface.
Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
autoconf is already the newest version (2.69-11).
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
git-man libapr1 libaprutil1 libcurl3-gnutls liberror-perl libexpat1
libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
git-gui gitk gitweb git-cvs git-mediawiki git-svn db5.3-util
libapache2-mod-svn subversion-tools
Recommended packages:
less ssh-client
The following NEW packages will be installed:
build-essential git git-man libapr1 libaprutil1 libcurl3-gnutls
liberror-perl libexpat1 libpcre2-8-0 libserf-1-1 libsvn1 libutf8proc2
subversion
0 upgraded, 13 newly installed, 0 to remove and 2 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 50.2 MB of additional disk space will be used.
Get:1 http://security.debian.org/debian-security buster/updates/main amd64 libcurl3-gnutls amd64 7.64.0-4+deb10u2 [330 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
Get:3 http://deb.debian.org/debian buster/main amd64 libexpat1 amd64 2.2.6-2+deb10u1 [106 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libpcre2-8-0 amd64 10.32-5 [213 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2+deb10u3 [1620 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2+deb10u3 [5633 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libapr1 amd64 1.6.5-1+b1 [102 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libaprutil1 amd64 1.6.1-4 [91.8 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libserf-1-1 amd64 1.3.9-7+b10 [53.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 libutf8proc2 amd64 2.3.0-1 [53.0 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libsvn1 amd64 1.10.4-1+deb10u2 [1403 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 subversion amd64 1.10.4-1+deb10u2 [1008 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 10.7 MB in 0s (73.0 MB/s)
Selecting previously unselected package build-essential.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ...
12690 files and directories currently installed.)
Preparing to unpack .../00-build-essential_12.6_amd64.deb ...
Unpacking build-essential (12.6) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../01-libcurl3-gnutls_7.64.0-4+deb10u2_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../02-libexpat1_2.2.6-2+deb10u1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.6-2+deb10u1) ...
Selecting previously unselected package libpcre2-8-0:amd64.
Preparing to unpack .../03-libpcre2-8-0_10.32-5_amd64.deb ...
Unpacking libpcre2-8-0:amd64 (10.32-5) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../04-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../05-git-man_1%3a2.20.1-2+deb10u3_all.deb ...
Unpacking git-man (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package git.
Preparing to unpack .../06-git_1%3a2.20.1-2+deb10u3_amd64.deb ...
Unpacking git (1:2.20.1-2+deb10u3) ...
Selecting previously unselected package libapr1:amd64.
Preparing to unpack .../07-libapr1_1.6.5-1+b1_amd64.deb ...
Unpacking libapr1:amd64 (1.6.5-1+b1) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../08-libaprutil1_1.6.1-4_amd64.deb ...
Unpacking libaprutil1:amd64 (1.6.1-4) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../09-libserf-1-1_1.3.9-7+b10_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-7+b10) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../10-libutf8proc2_2.3.0-1_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.3.0-1) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../11-libsvn1_1.10.4-1+deb10u2_amd64.deb ...
Unpacking libsvn1:amd64 (1.10.4-1+deb10u2) ...
Selecting previously unselected package subversion.
Preparing to unpack .../12-subversion_1.10.4-1+deb10u2_amd64.deb ...
Unpacking subversion (1.10.4-1+deb10u2) ...
Setting up libexpat1:amd64 (2.2.6-2+deb10u1) ...
Setting up libutf8proc2:amd64 (2.3.0-1) ...
Setting up libapr1:amd64 (1.6.5-1+b1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4+deb10u2) ...
Setting up liberror-perl (0.17027-2) ...
Setting up libpcre2-8-0:amd64 (10.32-5) ...
Setting up build-essential (12.6) ...
Setting up git-man (1:2.20.1-2+deb10u3) ...
Setting up libaprutil1:amd64 (1.6.1-4) ...
Setting up libserf-1-1:amd64 (1.3.9-7+b10) ...
Setting up git (1:2.20.1-2+deb10u3) ...
Setting up libsvn1:amd64 (1.10.4-1+deb10u2) ...
Setting up subversion (1.10.4-1+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
WARNING:
apt
does not have a stable CLI interface.
Use with caution in scripts.
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
lsb-base
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
libfann2
Suggested packages:
libfann-doc
The following NEW packages will be installed:
libfann-dev libfann2
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 161 kB of archives.
After this operation, 1136 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 libfann2 amd64 2.2.0+ds-5 [66.8 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 libfann-dev amd64 2.2.0+ds-5 [94.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 161 kB in 0s (12.4 MB/s)
Selecting previously unselected package libfann2:amd64.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ...
13812 files and directories currently installed.)
Preparing to unpack .../libfann2_2.2.0+ds-5_amd64.deb ...
Unpacking libfann2:amd64 (2.2.0+ds-5) ...
Selecting previously unselected package libfann-dev:amd64.
Preparing to unpack .../libfann-dev_2.2.0+ds-5_amd64.deb ...
Unpacking libfann-dev:amd64 (2.2.0+ds-5) ...
Setting up libfann2:amd64 (2.2.0+ds-5) ...
Setting up libfann-dev:amd64 (2.2.0+ds-5) ...
Processing triggers for libc-bin (2.28-10) ...
Removing intermediate container 62220771f383
---> 854572e35057
Step 4/4 : RUN pecl install --force fann && pecl run-tests fann
---> Running in 43704633c639
downloading fann-1.1.1.tgz ...
Starting to download fann-1.1.1.tgz (47,173 bytes)
.
.
.
.
.
.
.
.
.
.
...done: 47,173 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
building in /tmp/pear/temp/pear-build-defaultuserIJV6xv/fann-1.1.1
running: /tmp/pear/temp/fann/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-zts-20200930
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... yes
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for fann support... yes, shared
checking for libfann headers in default path... found in /usr
checking for fann_set_user_data in -lfann... yes
checking for fann_copy in -lfann... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
running: make
/bin/bash /tmp/pear/temp/pear-build-defaultuserIJV6xv/fann-1.1.1/libtool --mode=compile cc -I. -I/tmp/pear/temp/fann -I/tmp/pear/temp/pear-build-defaultuserIJV6xv/fann-1.1.1/include -I/tmp/pear/temp/pear-build-defaultuserIJV6xv/fann-1.1.1/main -I/tmp/pear/temp/fann -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/fann/fann.c -o fann.lo
mkdir .libs
cc -I. -I/tmp/pear/temp/fann -I/tmp/pear/temp/pear-build-defaultuserIJV6xv/fann-1.1.1/include -I/tmp/pear/temp/pear-build-defaultuserIJV6xv/fann-1.1.1/main -I/tmp/pear/temp/fann -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/fann/fann.c -fPIC -DPIC -o .libs/fann.o
In file included from /tmp/pear/temp/fann/fann.c:31:
/tmp/pear/temp/fann/php_fann.h:229:1: warning: parameter names (without types) in function declaration
void php_fannconnection_register_class(TSRMLS_D);
^~~~
/tmp/pear/temp/fann/fann.c:1049:60: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static void fann_destructor_fannbuf(phpc_res_entry_t *rsrc TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1068:65: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static void fann_destructor_fanntrainbuf(phpc_res_entry_t *rsrc TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c: In function 'zm_startup_fann':
/tmp/pear/temp/fann/fann.c:1084:3: error: 'fann_destructor_fannbuf' undeclared (first use in this function); did you mean 'fann_destroy_train'?
fann_destructor_fannbuf, NULL, le_fannbuf_name, module_number);
^~~~~~~~~~~~~~~~~~~~~~~
fann_destroy_train
/tmp/pear/temp/fann/fann.c:1084:3: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/fann/fann.c:1087:3: error: 'fann_destructor_fanntrainbuf' undeclared (first use in this function); did you mean 'fann_destroy_train'?
fann_destructor_fanntrainbuf, NULL, le_fanntrainbuf_name, module_number);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fann_destroy_train
/tmp/pear/temp/fann/fann.c:1157:36: error: 'TSRMLS_C' undeclared (first use in this function); did you mean 'TSRM_H'?
php_fannconnection_register_class(TSRMLS_C);
^~~~~~~~
TSRM_H
/tmp/pear/temp/fann/fann.c: At top level:
/tmp/pear/temp/fann/fann.c:1186:88: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static char *php_fann_get_path_for_open(char *path, phpc_str_size_t path_len, int read TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1227:66: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static int php_fann_check_num_layers(int specified, int provided TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1242:55: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static int php_fann_check_num_neurons(int num_neurons TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1253:71: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static int php_fann_check_num_inputs(struct fann *ann, int num_inputs TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1265:73: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static int php_fann_check_num_outputs(struct fann *ann, int num_outputs TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1292:100: error: expected ';', ',' or ')' before 'TSRMLS_DC'
static int php_fann_process_array(struct fann *ann, zval *z_array, fann_type **array, int is_input TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1308:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
unsigned *num_layers, unsigned **layers TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1350:50: error: expected ';', ',' or ')' before 'TSRMLS_DC'
unsigned *num_layers, unsigned **layers TSRMLS_DC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c: In function 'php_fann_callback':
/tmp/pear/temp/fann/fann.c:1404:2: warning: implicit declaration of function 'TSRMLS_FETCH'; did you mean 'TSRMLS_CACHE'? [-Wimplicit-function-declaration]
TSRMLS_FETCH();
^~~~~~~~~~~~
TSRMLS_CACHE
In file included from /tmp/pear/temp/fann/fann.c:30:
/tmp/pear/temp/fann/phpc/phpc.h:1418:89: error: expected ')' before 'TSRMLS_CC'
zend_fcall_info_init(_callable, _check_flags, _fci, _fci_cache, _callable_name, _error TSRMLS_CC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1410:6: note: in expansion of macro 'PHPC_FCALL_INFO_INIT'
if (PHPC_FCALL_INFO_INIT(PHPC_VAL_CAST_TO_PZVAL(user_data->callback), 0,
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1413:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1413:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:1418:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "User callback is not a valid callback");
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1418:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "User callback is not a valid callback");
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:1450:5: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'no_separation'
fci.no_separation = 0;
^
/tmp/pear/temp/fann/fann.c:1452:41: error: expected ')' before 'TSRMLS_CC'
if (zend_call_function(&fci, &fci_cache TSRMLS_CC) != SUCCESS || PHPC_VAL_ISUNDEF(retval)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:1453:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the user callback");
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1453:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "An error occurred while invoking the user callback");
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_standard':
/tmp/pear/temp/fann/fann.c:1501:6: warning: implicit declaration of function 'php_fann_create'; did you mean 'php_fann_callback'? [-Wimplicit-function-declaration]
if (php_fann_create(ZEND_NUM_ARGS(), NULL, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~~~~~~
php_fann_callback
/tmp/pear/temp/fann/fann.c:1501:65: error: expected ')' before 'TSRMLS_CC'
if (php_fann_create(ZEND_NUM_ARGS(), NULL, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1507:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1507:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1507:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1507:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_standard_array':
/tmp/pear/temp/fann/fann.c:1520:6: warning: implicit declaration of function 'php_fann_create_array'; did you mean 'php_fann_convert_array'? [-Wimplicit-function-declaration]
if (php_fann_create_array(ZEND_NUM_ARGS(), NULL, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
php_fann_convert_array
/tmp/pear/temp/fann/fann.c:1520:71: error: expected ')' before 'TSRMLS_CC'
if (php_fann_create_array(ZEND_NUM_ARGS(), NULL, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1526:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1526:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1526:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1526:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_sparse':
/tmp/pear/temp/fann/fann.c:1540:77: error: expected ')' before 'TSRMLS_CC'
if (php_fann_create(ZEND_NUM_ARGS(), &connection_rate, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1546:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1546:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1546:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1546:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_sparse_array':
/tmp/pear/temp/fann/fann.c:1561:83: error: expected ')' before 'TSRMLS_CC'
if (php_fann_create_array(ZEND_NUM_ARGS(), &connection_rate, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1567:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1567:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1567:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1567:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_shortcut':
/tmp/pear/temp/fann/fann.c:1581:65: error: expected ')' before 'TSRMLS_CC'
if (php_fann_create(ZEND_NUM_ARGS(), NULL, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1587:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1587:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1587:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1587:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_shortcut_array':
/tmp/pear/temp/fann/fann.c:1601:71: error: expected ')' before 'TSRMLS_CC'
if (php_fann_create_array(ZEND_NUM_ARGS(), NULL, &num_layers, &layers TSRMLS_CC) == FAILURE) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1607:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1607:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1607:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1607:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_destroy':
/tmp/pear/temp/fann/fann.c:1619:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1619:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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 /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/fann/fann.c:25:
/tmp/pear/temp/fann/phpc/phpc.h:867:2: error: void value not ignored as it ought to be
zend_list_close(Z_RES_P(_pz_res))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
(b) ? IS_TRUE : IS_FALSE; \
^
/usr/local/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
#define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
^~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1623:2: note: in expansion of macro 'RETURN_BOOL'
RETURN_BOOL(PHPC_RES_CLOSE(z_ann) == SUCCESS);
^~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1623:14: note: in expansion of macro 'PHPC_RES_CLOSE'
RETURN_BOOL(PHPC_RES_CLOSE(z_ann) == SUCCESS);
^~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c: In function 'zif_fann_copy':
/tmp/pear/temp/fann/fann.c:1635:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1635:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_run':
/tmp/pear/temp/fann/fann.c:1658:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_input) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1658:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_input) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:1663:7: warning: implicit declaration of function 'php_fann_process_array'; did you mean 'php_fann_convert_array'? [-Wimplicit-function-declaration]
if (!php_fann_process_array(ann, z_input, &input, 1 TSRMLS_CC)) {
^~~~~~~~~~~~~~~~~~~~~~
php_fann_convert_array
/tmp/pear/temp/fann/fann.c:1663:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_input, &input, 1 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1670:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1670:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1670:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1670:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_randomize_weights':
/tmp/pear/temp/fann/fann.c:1688:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_ann, &min_weight, &max_weight) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1688:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_ann, &min_weight, &max_weight) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1694:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1694:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1694:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1694:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_init_weights':
/tmp/pear/temp/fann/fann.c:1708:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1708:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1715:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1715:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1715:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1715:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_num_input':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1724:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_num_input, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1724:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_num_input, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_num_output':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1731:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_num_output, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1731:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_num_output, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_total_neurons':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1739:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_total_neurons, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1739:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_total_neurons, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_total_connections':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1746:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_total_connections, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1746:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_total_connections, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_network_type':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1753:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_network_type, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1753:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_network_type, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_connection_rate':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1760:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_connection_rate, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1760:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_connection_rate, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_num_layers':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1767:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_num_layers, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1767:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_num_layers, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_layer_array':
/tmp/pear/temp/fann/fann.c:1778:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1778:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1784:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1784:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1784:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1784:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1787:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1787:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1787:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1787:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_bias_array':
/tmp/pear/temp/fann/fann.c:1803:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1803:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1809:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1809:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1809:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1809:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1812:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1812:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1812:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1812:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_connection_array':
/tmp/pear/temp/fann/fann.c:1832:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1832:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1838:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1838:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1838:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1838:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1841:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1841:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1841:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1841:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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, ...)
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:31:
/tmp/pear/temp/fann/php_fann.h:236:54: error: expected ')' before 'TSRMLS_CC'
PHP_FANN_CONN_PROP_NAME(__name), (__value) TSRMLS_CC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1850:3: note: in expansion of macro 'PHP_FANN_CONN_PROP_UPDATE'
PHP_FANN_CONN_PROP_UPDATE(long, z_connection, "from_neuron", from_neuron);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/php_fann.h:235:63: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types]
zend_update_property_##__type(php_fann_FANNConnection_class, (__obj), \
^~~~~~~
/tmp/pear/temp/fann/fann.c:1850:3: note: in expansion of macro 'PHP_FANN_CONN_PROP_UPDATE'
PHP_FANN_CONN_PROP_UPDATE(long, z_connection, "from_neuron", from_neuron);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/include/php/Zend/zend_API.h:390:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value);
~~~~~~~~~~~~~^~~~~~
In file included from /tmp/pear/temp/fann/fann.c:31:
/tmp/pear/temp/fann/php_fann.h:236:54: error: expected ')' before 'TSRMLS_CC'
PHP_FANN_CONN_PROP_NAME(__name), (__value) TSRMLS_CC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1851:3: note: in expansion of macro 'PHP_FANN_CONN_PROP_UPDATE'
PHP_FANN_CONN_PROP_UPDATE(long, z_connection, "to_neuron", to_neuron);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/php_fann.h:235:63: warning: passing argument 2 of 'zend_update_property_long' from incompatible pointer type [-Wincompatible-pointer-types]
zend_update_property_##__type(php_fann_FANNConnection_class, (__obj), \
^~~~~~~
/tmp/pear/temp/fann/fann.c:1851:3: note: in expansion of macro 'PHP_FANN_CONN_PROP_UPDATE'
PHP_FANN_CONN_PROP_UPDATE(long, z_connection, "to_neuron", to_neuron);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/include/php/Zend/zend_API.h:390:79: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
ZEND_API void zend_update_property_long(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_long value);
~~~~~~~~~~~~~^~~~~~
In file included from /tmp/pear/temp/fann/fann.c:31:
/tmp/pear/temp/fann/php_fann.h:236:54: error: expected ')' before 'TSRMLS_CC'
PHP_FANN_CONN_PROP_NAME(__name), (__value) TSRMLS_CC)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1852:3: note: in expansion of macro 'PHP_FANN_CONN_PROP_UPDATE'
PHP_FANN_CONN_PROP_UPDATE(double, z_connection, "weight", weight);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/php_fann.h:235:63: warning: passing argument 2 of 'zend_update_property_double' from incompatible pointer type [-Wincompatible-pointer-types]
zend_update_property_##__type(php_fann_FANNConnection_class, (__obj), \
^~~~~~~
/tmp/pear/temp/fann/fann.c:1852:3: note: in expansion of macro 'PHP_FANN_CONN_PROP_UPDATE'
PHP_FANN_CONN_PROP_UPDATE(double, z_connection, "weight", weight);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/include/php/Zend/zend_API.h:391:81: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
ZEND_API void zend_update_property_double(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, double value);
~~~~~~~~~~~~~^~~~~~
/tmp/pear/temp/fann/fann.c: In function 'zif_fann_set_weight_array':
/tmp/pear/temp/fann/fann.c:1869:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1869:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:1879:63: error: expected ')' before 'TSRMLS_CC'
PHPC_OBJCE_P(pv_connection), php_fann_FANNConnection_class TSRMLS_CC)) {
^~~~~~~~~~
)
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/fann/fann.c:25:
/tmp/pear/temp/fann/php_fann.h:241:52: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types]
PHPC_READ_PROPERTY(php_fann_FANNConnection_class, (__obj), \
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:795:26: note: in definition of macro 'Z_LVAL'
#define Z_LVAL(zval) (zval).value.lval
^~~~
/tmp/pear/temp/fann/fann.c:1881:33: note: in expansion of macro 'Z_LVAL_P'
connections[i].from_neuron = Z_LVAL_P(PHP_FANN_CONN_PROP_READ(z_connection, "from_neuron"));
^~~~~~~~
/tmp/pear/temp/fann/php_fann.h:241:2: note: in expansion of macro 'PHPC_READ_PROPERTY'
PHPC_READ_PROPERTY(php_fann_FANNConnection_class, (__obj), \
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1881:42: note: in expansion of macro 'PHP_FANN_CONN_PROP_READ'
connections[i].from_neuron = Z_LVAL_P(PHP_FANN_CONN_PROP_READ(z_connection, "from_neuron"));
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/include/php/Zend/zend_API.h:407:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/fann/fann.c:25:
/tmp/pear/temp/fann/php_fann.h:241:52: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types]
PHPC_READ_PROPERTY(php_fann_FANNConnection_class, (__obj), \
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:795:26: note: in definition of macro 'Z_LVAL'
#define Z_LVAL(zval) (zval).value.lval
^~~~
/tmp/pear/temp/fann/fann.c:1882:31: note: in expansion of macro 'Z_LVAL_P'
connections[i].to_neuron = Z_LVAL_P(PHP_FANN_CONN_PROP_READ(z_connection, "to_neuron"));
^~~~~~~~
/tmp/pear/temp/fann/php_fann.h:241:2: note: in expansion of macro 'PHPC_READ_PROPERTY'
PHPC_READ_PROPERTY(php_fann_FANNConnection_class, (__obj), \
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1882:40: note: in expansion of macro 'PHP_FANN_CONN_PROP_READ'
connections[i].to_neuron = Z_LVAL_P(PHP_FANN_CONN_PROP_READ(z_connection, "to_neuron"));
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/include/php/Zend/zend_API.h:407:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/fann/fann.c:25:
/tmp/pear/temp/fann/php_fann.h:241:52: warning: passing argument 2 of 'zend_read_property' from incompatible pointer type [-Wincompatible-pointer-types]
PHPC_READ_PROPERTY(php_fann_FANNConnection_class, (__obj), \
^~~~~~~
/usr/local/include/php/Zend/zend_types.h:798:26: note: in definition of macro 'Z_DVAL'
#define Z_DVAL(zval) (zval).value.dval
^~~~
/tmp/pear/temp/fann/fann.c:1883:28: note: in expansion of macro 'Z_DVAL_P'
connections[i].weight = Z_DVAL_P(PHP_FANN_CONN_PROP_READ(z_connection, "weight"));
^~~~~~~~
/tmp/pear/temp/fann/php_fann.h:241:2: note: in expansion of macro 'PHPC_READ_PROPERTY'
PHPC_READ_PROPERTY(php_fann_FANNConnection_class, (__obj), \
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1883:37: note: in expansion of macro 'PHP_FANN_CONN_PROP_READ'
connections[i].weight = Z_DVAL_P(PHP_FANN_CONN_PROP_READ(z_connection, "weight"));
^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/include/php/Zend/zend_API.h:407:16: note: expected 'zend_object *' {aka 'struct _zend_object *'} but argument is of type 'zval *' {aka 'struct _zval_struct *'}
ZEND_API zval *zend_read_property(zend_class_entry *scope, zend_object *object, const char *name, size_t name_length, zend_bool silent, zval *rv);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1887:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Weights array can contain only object of FANNConnection");
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1887:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Weights array can contain only object of FANNConnection");
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1895:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1895:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1895:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1895:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_weight':
/tmp/pear/temp/fann/fann.c:1908:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlld", &z_ann, &from_neuron, &to_neuron, &weight) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1908:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlld", &z_ann, &from_neuron, &to_neuron, &weight) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1913:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1913:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1913:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1913:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_train':
/tmp/pear/temp/fann/fann.c:1925:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "raa", &z_ann, &z_input, &z_output) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1925:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "raa", &z_ann, &z_input, &z_output) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:1931:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_input, &input, 1 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:1935:63: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_output, &desired_output, 0 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1943:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1943:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1943:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1943:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_test':
/tmp/pear/temp/fann/fann.c:1960:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "raa", &z_ann, &z_input, &z_output) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1960:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "raa", &z_ann, &z_input, &z_output) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:1965:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_input, &input, 1 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:1969:78: error: expected ')' before 'TSRMLS_CC'
if (!(num_outputs = php_fann_process_array(ann, z_output, &desired_output, 0 TSRMLS_CC))) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1977:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1977:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1977:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1977:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_MSE':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1990:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_MSE, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1990:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_MSE, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_bit_fail':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1997:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_bit_fail, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1997:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_bit_fail, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_reset_MSE':
/tmp/pear/temp/fann/fann.c:1001:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2004:2: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_reset_MSE);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1001:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2004:2: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_reset_MSE);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2004:2: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_reset_MSE);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2004:2: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_reset_MSE);
^~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2004:2: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_reset_MSE);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2004:2: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_reset_MSE);
^~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_train_on_file':
/tmp/pear/temp/fann/fann.c:2018:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rslld", &z_ann, &filename, &filename_len,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2018:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rslld", &z_ann, &filename, &filename_len,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2023:13: warning: implicit declaration of function 'php_fann_get_path_for_open'; did you mean 'zif_fann_get_network_type'? [-Wimplicit-function-declaration]
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^~~~~~~~~~~~~~~~~~~~~~~~~~
zif_fann_get_network_type
/tmp/pear/temp/fann/fann.c:2023:65: error: expected ')' before 'TSRMLS_CC'
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:2023:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2029:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2029:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2029:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2029:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_train_on_data':
/tmp/pear/temp/fann/fann.c:2045:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrlld", &z_ann, &z_train_data,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2045:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrlld", &z_ann, &z_train_data,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2053:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2053:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2053:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2053:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_train_epoch':
/tmp/pear/temp/fann/fann.c:2067:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2067:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2073:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2073:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2073:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2073:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_test_data':
/tmp/pear/temp/fann/fann.c:2087:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2087:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2093:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2093:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2093:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2093:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_read_train_from_file':
/tmp/pear/temp/fann/fann.c:2106:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2106: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 /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2109:65: error: expected ')' before 'TSRMLS_CC'
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:2109:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c:2115:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid data train file format in '%s'", filename);
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2115:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid data train file format in '%s'", filename);
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2118:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2118:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2118:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2118:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_train':
/tmp/pear/temp/fann/fann.c:2131:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &num_data, &num_input, &num_output) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2131:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lll", &num_data, &num_input, &num_output) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2135:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2135:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2135:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2135:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_train_from_callback':
/tmp/pear/temp/fann/fann.c:2153:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllf",
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2153:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllf",
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2159:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2159:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2159:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2159:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2177:5: error: 'zend_fcall_info' {aka 'struct _zend_fcall_info'} has no member named 'no_separation'
fci.no_separation = 0;
^
/tmp/pear/temp/fann/fann.c:2181:42: error: expected ')' before 'TSRMLS_CC'
if (zend_call_function(&fci, &fci_cache TSRMLS_CC) != SUCCESS || PHPC_VAL_ISUNDEF(retval)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:2182:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2182:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2188:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2188:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2195:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2195:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2202:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2202:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2209:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2209:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2216:26: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2216:4: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING,
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_destroy_train':
/tmp/pear/temp/fann/fann.c:2244:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2244:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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 /usr/local/include/php/Zend/zend.h:27,
from /usr/local/include/php/main/php.h:31,
from /tmp/pear/temp/fann/fann.c:25:
/tmp/pear/temp/fann/phpc/phpc.h:867:2: error: void value not ignored as it ought to be
zend_list_close(Z_RES_P(_pz_res))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:893:5: note: in definition of macro 'ZVAL_BOOL'
(b) ? IS_TRUE : IS_FALSE; \
^
/usr/local/include/php/Zend/zend_API.h:734:33: note: in expansion of macro 'RETVAL_BOOL'
#define RETURN_BOOL(b) do { RETVAL_BOOL(b); return; } while (0)
^~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2248:2: note: in expansion of macro 'RETURN_BOOL'
RETURN_BOOL(PHPC_RES_CLOSE(z_train_data) == SUCCESS);
^~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2248:14: note: in expansion of macro 'PHPC_RES_CLOSE'
RETURN_BOOL(PHPC_RES_CLOSE(z_train_data) == SUCCESS);
^~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c: In function 'zif_fann_shuffle_train_data':
/tmp/pear/temp/fann/fann.c:2259:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2259:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2264:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2264:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2264:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2264:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_scale_train':
/tmp/pear/temp/fann/fann.c:2277:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2277:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2283:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2283:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2283:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2283:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_descale_train':
/tmp/pear/temp/fann/fann.c:2296:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2296:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_ann, &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2302:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2302:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2302:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2302:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_input_scaling_params':
/tmp/pear/temp/fann/fann.c:2316:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrdd", &z_ann, &z_train_data,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2316:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrdd", &z_ann, &z_train_data,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2326:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2326:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2326:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2326:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_output_scaling_params':
/tmp/pear/temp/fann/fann.c:2341:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrdd", &z_ann, &z_train_data,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2341:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrdd", &z_ann, &z_train_data,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2351:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2351:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2351:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2351:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_scaling_params':
/tmp/pear/temp/fann/fann.c:2366:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrdddd", &z_ann, &z_train_data,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2366:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrdddd", &z_ann, &z_train_data,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2377:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2377:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2377:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2377:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_clear_scaling_params':
/tmp/pear/temp/fann/fann.c:1001:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2387:5: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_clear_scaling_params);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1001:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2387:5: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_clear_scaling_params);
^~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2387:5: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_clear_scaling_params);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2387:5: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_clear_scaling_params);
^~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2387:5: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_clear_scaling_params);
^~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1004:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1042:30: note: in expansion of macro 'PHP_FANN_SET_PARAM0'
#define PHP_FANN_RESET_PARAM PHP_FANN_SET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2387:5: note: in expansion of macro 'PHP_FANN_RESET_PARAM'
PHP_FANN_RESET_PARAM(fann_clear_scaling_params);
^~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_scale_input':
/tmp/pear/temp/fann/fann.c:2399:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2399:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2403:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_array, &array, 1 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2409:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2409:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2409:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2409:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_scale_output':
/tmp/pear/temp/fann/fann.c:2421:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2421:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2425:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_array, &array, 0 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2431:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2431:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2431:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2431:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_descale_input':
/tmp/pear/temp/fann/fann.c:2443:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2443:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2447:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_array, &array, 1 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2453:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2453:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2453:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2453:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_descale_output':
/tmp/pear/temp/fann/fann.c:2465:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2465:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &z_array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2469:53: error: expected ')' before 'TSRMLS_CC'
if (!php_fann_process_array(ann, z_array, &array, 0 TSRMLS_CC)) {
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2475:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2475:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2475:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2475:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_scale_input_train_data':
/tmp/pear/temp/fann/fann.c:2483:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_train_data, &new_min, &new_max) == FAILURE) { \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2495:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_input_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2483:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_train_data, &new_min, &new_max) == FAILURE) { \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2495:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_input_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2495:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_input_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2495:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_input_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2495:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_input_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2495:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_input_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_scale_output_train_data':
/tmp/pear/temp/fann/fann.c:2483:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_train_data, &new_min, &new_max) == FAILURE) { \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2503:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_output_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2483:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_train_data, &new_min, &new_max) == FAILURE) { \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2503:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_output_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2503:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_output_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2503:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_output_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2503:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_output_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2503:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_output_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_scale_train_data':
/tmp/pear/temp/fann/fann.c:2483:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_train_data, &new_min, &new_max) == FAILURE) { \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2511:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2483:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rdd", &z_train_data, &new_min, &new_max) == FAILURE) { \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2511:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2511:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2511:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2511:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2488:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA(); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2511:2: note: in expansion of macro 'PHP_FANN_SCALE_TRAIN_DATA'
PHP_FANN_SCALE_TRAIN_DATA(fann_scale_train_data);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_merge_train_data':
/tmp/pear/temp/fann/fann.c:2522:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_data1, &z_data2) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2522:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rr", &z_data1, &z_data2) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2528:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2528:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2528:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2528:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_duplicate_train_data':
/tmp/pear/temp/fann/fann.c:2540:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2540:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2545:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2545:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2545:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2545:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_subset_train_data':
/tmp/pear/temp/fann/fann.c:2558:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &z_train_data, &pos, &length) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2558:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &z_train_data, &pos, &length) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2563:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2563:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2563:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2563:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_length_train_data':
/tmp/pear/temp/fann/fann.c:2575:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2575:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_num_input_train_data':
/tmp/pear/temp/fann/fann.c:2590:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2590:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_num_output_train_data':
/tmp/pear/temp/fann/fann.c:2605:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2605:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_train_data) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_save_train':
/tmp/pear/temp/fann/fann.c:2622:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_train_data, &filename, &filename_len)
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2622:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_train_data, &filename, &filename_len)
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:2627:65: error: expected ')' before 'TSRMLS_CC'
filename = php_fann_get_path_for_open(filename, filename_len, 0 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:2627:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
filename = php_fann_get_path_for_open(filename, filename_len, 0 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2635:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2635:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2635:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:950:56: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(train_data, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:951:43: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX'
#define PHP_FANN_ERROR_CHECK_TRAIN_DATA() PHP_FANN_ERROR_CHECK_TRAIN_DATA_EX("Train data not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2635:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_TRAIN_DATA'
PHP_FANN_ERROR_CHECK_TRAIN_DATA();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_training_algorithm':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2645:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_training_algorithm, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2645:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_training_algorithm, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_training_algorithm':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2652:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_training_algorithm, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2652:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_training_algorithm, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2652:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_training_algorithm, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2652:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_training_algorithm, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2652:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_training_algorithm, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2652:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_training_algorithm, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_learning_rate':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2660:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_learning_rate, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2660:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_learning_rate, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_learning_rate':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2667:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_rate, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2667:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_rate, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2667:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_rate, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2667:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_rate, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2667:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_rate, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2667:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_rate, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_learning_momentum':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2675:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_learning_momentum, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2675:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_learning_momentum, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_learning_momentum':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2682:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_momentum, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2682:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_momentum, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2682:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_momentum, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2682:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_momentum, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2682:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_momentum, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2682:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_learning_momentum, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_activation_function':
/tmp/pear/temp/fann/fann.c:990:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2690:2: note: in expansion of macro 'PHP_FANN_GET_PARAM2'
PHP_FANN_GET_PARAM2(fann_get_activation_function, RETURN_LONG, ll, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:990:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2690:2: note: in expansion of macro 'PHP_FANN_GET_PARAM2'
PHP_FANN_GET_PARAM2(fann_get_activation_function, RETURN_LONG, ll, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_function':
/tmp/pear/temp/fann/fann.c:1032:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2, ¶m3) \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2698:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_function, lll, long, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1032:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2, ¶m3) \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2698:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_function, lll, long, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2698:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_function, lll, long, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2698:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_function, lll, long, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2698:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_function, lll, long, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2698:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_function, lll, long, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_function_layer':
/tmp/pear/temp/fann/fann.c:1021:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2706:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_function_layer, ll, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1021:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2706:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_function_layer, ll, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2706:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_function_layer, ll, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2706:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_function_layer, ll, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2706:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_function_layer, ll, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2706:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_function_layer, ll, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_function_hidden':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2714:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_hidden, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2714:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_hidden, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2714:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_hidden, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2714:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_hidden, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2714:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_hidden, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2714:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_hidden, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_function_output':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2723:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_output, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2723:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_output, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2723:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_output, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2723:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_output, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2723:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_output, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2723:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_function_output, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_activation_steepness':
/tmp/pear/temp/fann/fann.c:990:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2731:2: note: in expansion of macro 'PHP_FANN_GET_PARAM2'
PHP_FANN_GET_PARAM2(fann_get_activation_steepness, RETURN_DOUBLE, ll, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:990:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2731:2: note: in expansion of macro 'PHP_FANN_GET_PARAM2'
PHP_FANN_GET_PARAM2(fann_get_activation_steepness, RETURN_DOUBLE, ll, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_steepness':
/tmp/pear/temp/fann/fann.c:1032:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2, ¶m3) \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2739:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_steepness, dll, double, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1032:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2, ¶m3) \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2739:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_steepness, dll, double, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2739:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_steepness, dll, double, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2739:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_steepness, dll, double, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2739:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_steepness, dll, double, long, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1036:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2739:2: note: in expansion of macro 'PHP_FANN_SET_PARAM3'
PHP_FANN_SET_PARAM3(fann_set_activation_steepness, dll, double, long, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_steepness_layer':
/tmp/pear/temp/fann/fann.c:1021:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2747:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_steepness_layer, dl, double, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1021:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m1, ¶m2) == FAILURE) \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2747:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_steepness_layer, dl, double, long);
^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2747:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_steepness_layer, dl, double, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2747:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_steepness_layer, dl, double, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2747:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_steepness_layer, dl, double, long);
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1025:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2747:2: note: in expansion of macro 'PHP_FANN_SET_PARAM2'
PHP_FANN_SET_PARAM2(fann_set_activation_steepness_layer, dl, double, long);
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_steepness_hidden':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2755:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_hidden, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2755:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_hidden, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2755:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_hidden, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2755:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_hidden, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2755:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_hidden, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2755:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_hidden, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_activation_steepness_output':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2764:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_output, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2764:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_output, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2764:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_output, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2764:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_output, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2764:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_output, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2764:2: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_activation_steepness_output, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_train_error_function':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2772:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_train_error_function, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2772:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_train_error_function, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_train_error_function':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2779:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_error_function, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2779:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_error_function, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2779:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_error_function, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2779:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_error_function, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2779:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_error_function, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2779:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_error_function, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_train_stop_function':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2787:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_train_stop_function, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2787:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_train_stop_function, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_train_stop_function':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2794:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_stop_function, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2794:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_stop_function, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2794:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_stop_function, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2794:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_stop_function, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2794:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_stop_function, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2794:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_train_stop_function, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_bit_fail_limit':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2802:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_bit_fail_limit, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2802:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_bit_fail_limit, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_bit_fail_limit':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2809:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_bit_fail_limit, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2809:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_bit_fail_limit, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2809:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_bit_fail_limit, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2809:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_bit_fail_limit, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2809:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_bit_fail_limit, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2809:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_bit_fail_limit, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_callback':
/tmp/pear/temp/fann/fann.c:2821:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz", &z_ann, &callback) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:2821:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz", &z_ann, &callback) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_quickprop_decay':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2840:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_quickprop_decay, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2840:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_quickprop_decay, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_quickprop_decay':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2847:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_decay, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2847:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_decay, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2847:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_decay, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2847:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_decay, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2847:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_decay, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2847:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_decay, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_quickprop_mu':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2855:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_quickprop_mu, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2855:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_quickprop_mu, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_quickprop_mu':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2862:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_mu, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2862:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_mu, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2862:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_mu, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2862:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_mu, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2862:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_mu, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2862:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_quickprop_mu, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_rprop_increase_factor':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2871:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_increase_factor, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2871:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_increase_factor, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_rprop_increase_factor':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2878:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_increase_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2878:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_increase_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2878:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_increase_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2878:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_increase_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2878:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_increase_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2878:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_increase_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_rprop_decrease_factor':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2887:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_decrease_factor, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2887:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_decrease_factor, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_rprop_decrease_factor':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2895:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_decrease_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2895:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_decrease_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2895:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_decrease_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2895:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_decrease_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2895:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_decrease_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2895:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_decrease_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_rprop_delta_min':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2903:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_delta_min, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2903:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_delta_min, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_rprop_delta_min':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2910:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_min, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2910:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_min, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2910:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_min, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2910:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_min, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2910:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_min, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2910:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_min, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_rprop_delta_max':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2918:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_delta_max, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2918:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_delta_max, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_rprop_delta_max':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2925:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_max, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2925:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_max, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2925:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_max, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2925:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_max, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2925:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_max, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2925:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_max, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_rprop_delta_zero':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2933:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_delta_zero, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2933:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_rprop_delta_zero, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_rprop_delta_zero':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2940:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_zero, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2940:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_zero, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2940:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_zero, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2940:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_zero, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2940:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_zero, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2940:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_rprop_delta_zero, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_sarprop_weight_decay_shift':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2949:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_weight_decay_shift, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2949:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_weight_decay_shift, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_sarprop_weight_decay_shift':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2956:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_weight_decay_shift, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2956:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_weight_decay_shift, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2956:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_weight_decay_shift, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2956:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_weight_decay_shift, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2956:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_weight_decay_shift, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2956:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_weight_decay_shift, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_sarprop_step_error_threshold_factor':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2964:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_step_error_threshold_factor, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2964:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_step_error_threshold_factor, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_sarprop_step_error_threshold_factor':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2971:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_threshold_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2971:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_threshold_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2971:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_threshold_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2971:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_threshold_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2971:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_threshold_factor, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2971:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_threshold_factor, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_sarprop_step_error_shift':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2979:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_step_error_shift, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2979:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_step_error_shift, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_sarprop_step_error_shift':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2986:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_shift, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2986:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_shift, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2986:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_shift, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2986:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_shift, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2986:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_shift, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2986:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_step_error_shift, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_sarprop_temperature':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2994:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_temperature, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:2994:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_sarprop_temperature, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_sarprop_temperature':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3001:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_temperature, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3001:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_temperature, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3001:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_temperature, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3001:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_temperature, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3001:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_temperature, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3001:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_sarprop_temperature, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_cascadetrain_on_data':
/tmp/pear/temp/fann/fann.c:3016:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrlld", &z_ann, &z_train_data,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3016:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rrlld", &z_ann, &z_train_data,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3024:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3024:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3024:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3024:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_cascadetrain_on_file':
/tmp/pear/temp/fann/fann.c:3040:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rslld", &z_ann, &filename, &filename_len,
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3040:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rslld", &z_ann, &filename, &filename_len,
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:3045:65: error: expected ')' before 'TSRMLS_CC'
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:3045:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
filename = php_fann_get_path_for_open(filename, filename_len, 1 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3051:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3051:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3051:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3051:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_output_change_fraction':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3060:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_output_change_fraction, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3060:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_output_change_fraction, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_output_change_fraction':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3068:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3068:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3068:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3068:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3068:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3068:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_output_stagnation_epochs':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3076:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_output_stagnation_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3076:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_output_stagnation_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_output_stagnation_epochs':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3084:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3084:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3084:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3084:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3084:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3084:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_output_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_candidate_change_fraction':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3092:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_candidate_change_fraction, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3092:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_candidate_change_fraction, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_candidate_change_fraction':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3100:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3100:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3100:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3100:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3100:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3100:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_change_fraction, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_candidate_stagnation_epochs':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3108:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_candidate_stagnation_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3108:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_candidate_stagnation_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_candidate_stagnation_epochs':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3116:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3116:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3116:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3116:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3116:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3116:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_stagnation_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_weight_multiplier':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3124:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_weight_multiplier, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3124:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_weight_multiplier, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_weight_multiplier':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3132:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_weight_multiplier, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3132:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_weight_multiplier, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3132:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_weight_multiplier, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3132:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_weight_multiplier, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3132:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_weight_multiplier, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3132:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_weight_multiplier, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_candidate_limit':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3140:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_candidate_limit, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3140:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_candidate_limit, RETURN_DOUBLE);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_candidate_limit':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3148:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_limit, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3148:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_limit, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3148:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_limit, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3148:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_limit, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3148:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_limit, d, double);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3148:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_candidate_limit, d, double);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_max_out_epochs':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3156:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_max_out_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3156:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_max_out_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_max_out_epochs':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3164:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3164:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3164:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3164:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3164:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3164:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_min_out_epochs':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3173:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_min_out_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3173:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_min_out_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_min_out_epochs':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3181:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3181:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3181:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3181:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3181:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3181:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_out_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_max_cand_epochs':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3190:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_max_cand_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3190:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_max_cand_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_max_cand_epochs':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3198:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3198:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3198:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3198:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3198:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3198:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_max_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_min_cand_epochs':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3207:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_min_cand_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3207:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_min_cand_epochs, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_min_cand_epochs':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3215:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3215:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3215:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3215:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3215:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3215:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_min_cand_epochs, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_num_candidates':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3224:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_num_candidates, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3224:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_num_candidates, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_activation_functions_count':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3232:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_activation_functions_count, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3232:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_activation_functions_count, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_activation_functions':
/tmp/pear/temp/fann/fann.c:3245:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3245:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3250:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3250:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3250:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3250:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3252:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3252:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3252:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3252:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_activation_functions':
/tmp/pear/temp/fann/fann.c:3270:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3270:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3282:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3282:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3282:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3282:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_activation_steepnesses_count':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3291:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_activation_steepnesses_count, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3291:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_activation_steepnesses_count, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_activation_steepnesses':
/tmp/pear/temp/fann/fann.c:3304:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3304:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3309:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3309:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3309:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3309:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3311:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3311:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3311:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3311:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_activation_steepnesses':
/tmp/pear/temp/fann/fann.c:3329:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &array) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3329:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ra", &z_ann, &array) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3341:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3341:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3341:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3341:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_cascade_num_candidate_groups':
/tmp/pear/temp/fann/fann.c:982:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3350:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_num_candidate_groups, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:982:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_ann) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:996:28: note: in expansion of macro 'PHP_FANN_GET_PARAM0'
#define PHP_FANN_GET_PARAM PHP_FANN_GET_PARAM0
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3350:2: note: in expansion of macro 'PHP_FANN_GET_PARAM'
PHP_FANN_GET_PARAM(fann_get_cascade_num_candidate_groups, RETURN_LONG);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_cascade_num_candidate_groups':
/tmp/pear/temp/fann/fann.c:1010:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3358:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_num_candidate_groups, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1010:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r" #_zppval, &z_ann, ¶m) == FAILURE) return; \
^~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3358:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_num_candidate_groups, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3358:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_num_candidate_groups, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3358:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_num_candidate_groups, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3358:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_num_candidate_groups, l, long);
^~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1013:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN(); \
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:1040:28: note: in expansion of macro 'PHP_FANN_SET_PARAM1'
#define PHP_FANN_SET_PARAM PHP_FANN_SET_PARAM1
^~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3358:5: note: in expansion of macro 'PHP_FANN_SET_PARAM'
PHP_FANN_SET_PARAM(fann_set_cascade_num_candidate_groups, l, long);
^~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_create_from_file':
/tmp/pear/temp/fann/fann.c:3370:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &cf_name, &cf_name_len) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3370:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &cf_name, &cf_name_len) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:3373:62: error: expected ')' before 'TSRMLS_CC'
cf_name = php_fann_get_path_for_open(cf_name, cf_name_len, 1 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:3373:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
cf_name = php_fann_get_path_for_open(cf_name, cf_name_len, 1 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c:3379:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid configuration file '%s'", cf_name);
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3379:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid configuration file '%s'", cf_name);
^~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3382:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3382:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3382:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3382:2: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_save':
/tmp/pear/temp/fann/fann.c:3397:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ann, &cf_name, &cf_name_len) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3397:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_ann, &cf_name, &cf_name_len) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:3400:62: error: expected ')' before 'TSRMLS_CC'
cf_name = php_fann_get_path_for_open(cf_name, cf_name_len, 0 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:3400:10: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
cf_name = php_fann_get_path_for_open(cf_name, cf_name_len, 0 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c:934:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3408:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:934:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", _error_msg); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3408:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:938:25: error: expected ')' before 'TSRMLS_CC'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3408:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:938:3: error: too few arguments to function 'php_error_docref'
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", (_fann_struct)->errstr); \
^~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:946:49: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_EX'
#define PHP_FANN_ERROR_CHECK_ANN_EX(_error_msg) PHP_FANN_ERROR_CHECK_EX(ann, _error_msg)
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:947:36: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN_EX'
#define PHP_FANN_ERROR_CHECK_ANN() PHP_FANN_ERROR_CHECK_ANN_EX("Neural network not created")
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/fann/fann.c:3408:3: note: in expansion of macro 'PHP_FANN_ERROR_CHECK_ANN'
PHP_FANN_ERROR_CHECK_ANN();
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_set_error_log':
/tmp/pear/temp/fann/fann.c:3424:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_errdat, &log_name, &log_name_len) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3424:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &z_errdat, &log_name, &log_name_len) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c:3427:65: error: expected ')' before 'TSRMLS_CC'
log_name = php_fann_get_path_for_open(log_name, log_name_len, 0 TSRMLS_CC);
^~~~~~~~~~
)
/tmp/pear/temp/fann/fann.c:3427:11: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
log_name = php_fann_get_path_for_open(log_name, log_name_len, 0 TSRMLS_CC);
^
/tmp/pear/temp/fann/fann.c: In function 'zif_fann_get_errno':
/tmp/pear/temp/fann/fann.c:3447:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3447:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_reset_errno':
/tmp/pear/temp/fann/fann.c:3462:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3462:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_reset_errstr':
/tmp/pear/temp/fann/fann.c:3477:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3477:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_get_errstr':
/tmp/pear/temp/fann/fann.c:3494:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3494:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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/pear/temp/fann/fann.c: In function 'zif_fann_print_error':
/tmp/pear/temp/fann/fann.c:3513:44: error: expected ')' before 'TSRMLS_CC'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~
/tmp/pear/temp/fann/fann.c:3513:6: error: too few arguments to function 'zend_parse_parameters'
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r", &z_errdat) == FAILURE) {
^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/php/main/php.h:35,
from /tmp/pear/temp/fann/fann.c:25:
/usr/local/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, ...);
^~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:209: fann.lo] Error 1
ERROR: `make' failed