# New Ticket Created by slaven@rezic.de # Please include the string: [perl #123297] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123297 > 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. 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 1Thread Previous