Subject: | Support for clang systems? |
FreeBSD 10 does not ship anymore gcc/g++, but instead clang/clang++. The build is currently hardcoding "g++", so compilation is not possible anymore:
"/usr/perl5.23.5p/bin/perl5.23.5" "/usr/perl5.23.5p/lib/5.23.5/ExtUtils/xsubpp" -C++ -typemap "/usr/perl5.23.5p/lib/5.23.5/ExtUtils/typemap" Seek.xs > Seek.xsc && mv Seek.xsc Seek.c
Please specify prototyping behavior for Seek.xs (see perlxs manual)
g++ -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\"0.03_01\" -DXS_VERSION=\"0.03_01\" -DPIC -fPIC "-I/usr/perl5.23.5p/lib/5.23.5/amd64-freebsd/CORE" Seek.c
g++: not found
*** Error code 127
It would be better to use "c++" here, which is understood by both gcc and clang based systems.