No comma before that
No comma before "that"
In German, you must put a comma before "dass". Not in English.
Wrong: "The log message confirms, that comparing pthread with \== is not portable."
Right: "The log message confirms that comparing pthread with \== is not portable."
Basically, use commas in English only if leaving them out would lead to ambiguity.