Closed
Bug 1794163
Opened 2 years ago
Closed 2 years ago
Fix C++20 -Wenum-float-conversion warning in resistFingerprinting
Categories
(Core :: DOM: Core & HTML, task, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
107 Branch
People
(Reporter: cpeterson, Assigned: cpeterson)
References
Details
Attachments
(1 file)
C++20 deprecates some operations between enums and floating point types:
https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-float-conversion
toolkit/components/resistfingerprinting/nsRFPService.cpp:428:56 [-Wenum-float-conversion] arithmetic between floating-point type 'double' and enumeration type 'mozilla::nsRFPService::TimeScale'
Assignee | ||
Updated•2 years ago
|
Component: XSLT → DOM: Core & HTML
Assignee | ||
Comment 1•2 years ago
|
||
C++20 deprecates some operations between enums and floating point types:
https://clang.llvm.org/docs/DiagnosticsReference.html#wenum-float-conversion
toolkit/components/resistfingerprinting/nsRFPService.cpp:428:56 [-Wenum-float-conversion] arithmetic between floating-point type 'double' and enumeration type 'mozilla::nsRFPService::TimeScale'
Pushed by cpeterson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/77d4387553a6
Fix C++20 -Wenum-float-conversion warning in resistFingerprinting. r=tjr
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•