Getting this all day today…
/Users/chuck/git/blender-build-2.8/blender/source/blender/editors/gpencil/gpencil_paint.c:1772:3: error:non-void function ‘gp_set_default_eraser’ should return a value [-Wreturn-type]
return;
^
1 error generated.
Looks like it could be easily fixed by making the function return type void. Nothing is every returned from this function.
~chuck