Subject: | non-void function 'constant' should return a value |
On some FreeBSD systems (with clang as C compiler) the compilation fails:
...
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -DVERSION=\"0.08\" -DXS_VERSION=\"0.08\" -DPIC -fPIC "-I/usr/perl5.30.0-RC1p/lib/5.30.0/amd64-freebsd/CORE" MegaHAL.c
MegaHAL.xs:46:6: error: non-void function 'constant' should return a value [-Wreturn-type]
return MEGAHAL_H;
^
1 error generated.
*** Error code 1
...