Closed Bug 1571292 Opened 5 years ago Closed 5 years ago

error: '~' on an expression of type bool [-Werror=bool-operation]

Categories

(Core :: Gecko Profiler, defect, P1)

70 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Fails with gcc 8 and -Wall on

/root/firefox-gcc-last/obj-x86_64-pc-linux-gnu/dist/include/mozilla/BlocksRingBuffer.h:333:26: error: '~' on an expression of type bool [-Werror=bool-operation]
       MOZ_ASSERT(~IsAtEnd());
                   ~~~~~~~^~
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9ed9c76181b0
Wbool-operation: fix a warning (! instead of ~) r=gerald
No longer blocks: 1565137
Priority: -- → P1
Regressed by: 1565137
Version: unspecified → 70 Branch
Keywords: regression
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: