qoflog.cpp uses the wrong enum type in a switch statement. clang 7.0 errors out due to this. The attached patch fixes the problem and adapts the error strings.
Created attachment 373123 [details] Patch fixing the problem.
*** Bug 797040 has been marked as a duplicate of this bug. ***
Please recreate your patch with git format-patch. Use "Bug 797041 - enum confusion in qoflog" as the first line of the commit message.
Created attachment 373125 [details] Patch in git format-patch format.
Committed and pushed, thanks.