Dana Pon 24. Stu 2014, 13:50:47, slaven@rezic.de reče: > Compiling bleadperl (or perl 5.21.6) under FreeBSD 10.0 fails. The log > is included below. > > Manually compiling POSIX.c without the "-ansi" option works, and after > doing this change, "make" finished without further errors. > > FreeBSD 9.2 is not affected by this problem. It seems I failed to read perl5216delta.pod, the "Known problems" section. > Regards, > Slaven > > ... > ./miniperl -Ilib make_ext.pl lib/auto/POSIX/POSIX.so MAKE="make" > LIBPERL_A=libperl.a LINKTYPE=dynamic > cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing > -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 > -DSTRUCT_TM_HASZONE -Wall -ansi -Werror=declaration-after-statement > -Wextra -Wc++-compat -Wwrite-strings -O -DVERSION=\"1.47\" > -DXS_VERSION=\"1.47\" -DPIC -fPIC "-I../.." POSIX.c > In file included from POSIX.xs:38: > /usr/include/fenv.h:117:15: error: unknown type name 'inline' > __fenv_static inline int > ^ > /usr/include/fenv.h:117:22: error: expected identifier or '(' > __fenv_static inline int > ^ > /usr/include/fenv.h:138:8: error: unknown type name 'inline' > static inline int > ^ > /usr/include/fenv.h:138:15: error: expected identifier or '(' > static inline int > ^ > /usr/include/fenv.h:271:15: error: unknown type name 'inline' > __fenv_static inline int > ^ > /usr/include/fenv.h:271:22: error: expected identifier or '(' > __fenv_static inline int > ... > 3 warnings and 14 errors generated. > *** Error code 1 --- via perlbug: queue: perl5 status: new https://rt.perl.org/Ticket/Display.html?id=123297Thread Previous | Thread Next