Subject: | void function should not return a value |
Compilation fails on freebsd 10 systems with its standard C compiler (clang):
...
cc -c -I. -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -DPIC -fPIC "-I/usr/perl5.22.4p/lib/5.22.4/amd64-freebsd/CORE" LibICal.c
LibICal.xs:31:13: error: void function 'XS_Date__LibICal_expand_recurrence' should not return a value [-Wreturn-type]
return 2;
^ ~
1 error generated.
*** Error code 1
...