completes fix for issue #733, by printing warning and failing if user-defined functions contain void type arguments