Closed Bug 791216 Opened 9 years ago Closed 9 years ago
Work around gcc enum class compiler bug
The gcc version used by the try servers seems to have a problem with static_cast<bool> on an enum class. The workaround is to replace it with a "== NS_OK" check. In bug 783869 I avoided that by cleaning up the code, but there's a different case where that's harder/less worthwhile and it's easiest to just avoid the static_cast.
Try run containing this change in the last patch (compile only): https://tbpl.mozilla.org/?tree=Try&rev=e3e39c83c2a0
Attachment #661190 - Flags: review?(ehsan)
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.