Fix varargs compilation warnings
Added a note regarding casting to function_type