Subject: | error: too many arguments to function call |
Compilation failure, probably only with threaded perls:
...
cc -c -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wdeclaration-after-statement -Wcomment -O2 -pipe -DVERSION=\"0.000076\" -DXS_VERSION=\"0.000076\" -DPIC -fPIC "-I/usr/perl5.22.2t/lib/5.22.2/amd64-freebsd-thread-multi/CORE" pl_console.c
pl_console.c:71:36: error: too many arguments to function call, expected 4, have 5
sv_vcatpvf(aTHX_ message, fmt, &args_copy);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/usr/perl5.22.2t/lib/5.22.2/amd64-freebsd-thread-multi/CORE/embed.h:689:53: note: expanded from macro 'sv_vcatpvf'
#define sv_vcatpvf(a,b,c) Perl_sv_vcatpvf(aTHX_ a,b,c)
^
/usr/perl5.22.2t/lib/5.22.2/amd64-freebsd-thread-multi/CORE/proto.h:4772:15: note: 'Perl_sv_vcatpvf' declared here
PERL_CALLCONV void Perl_sv_vcatpvf(pTHX_ SV *const sv, const char *const pat, va_list *const args)
^
1 error generated.
*** Error code 1
...