Closed
Bug 1298383
Opened 10 years ago
Closed 8 years ago
clang-cl warning: unhandled enum values in switches in FilterNodeD2D1.cpp
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla61
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | fixed |
People
(Reporter: froydnj, Assigned: away)
References
Details
Attachments
(1 file)
|
2.34 KB,
patch
|
bas.schouten
:
review+
|
Details | Diff | Splinter Review |
clang-cl complains thusly:
0:32.22 c:/m-c/gfx/2d/FilterNodeD2D1.cpp(167,11): warning: 19 enumeration values not handled in switch: 'FLOOD', 'TILE', 'TABLE_TRANSFER'... [-Wswitch]
0:32.22 switch (aType) {
0:32.22 ^
0:32.22 c:/m-c/gfx/2d/FilterNodeD2D1.cpp(211,11): warning: 25 enumeration values not handled in switch: 'BLEND', 'TRANSFORM', 'COLOR_MATRIX'... [-Wswitch]
0:32.22 switch (aType) {
0:32.22 ^
0:32.22 c:/m-c/gfx/2d/FilterNodeD2D1.cpp(236,11): warning: enumeration values 'PREMULTIPLY' and 'UNPREMULTIPLY' not handled in switch [-Wswitch]
0:32.22 switch (aType) {
0:32.22 ^
0:32.22 c:/m-c/gfx/2d/FilterNodeD2D1.cpp(451,11): warning: 25 enumeration values not handled in switch: 'BLEND', 'TRANSFORM', 'COLOR_MATRIX'... [-Wswitch]
0:32.22 switch (aType) {
0:32.22 ^
0:32.22 c:/m-c/gfx/2d/FilterNodeD2D1.cpp(465,11): warning: enumeration value 'CONVOLVE_MATRIX' not handled in switch [-Wswitch]
0:32.22 switch (aType) {
0:32.22 ^
Assignee: nobody → dmajor
Attachment #8961437 -
Flags: review?(bas)
Updated•8 years ago
|
Attachment #8961437 -
Flags: review?(bas) → review+
Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2df9a2e7348
Add default cases to appease clang-cl's -Wswitch. r=Bas
Comment 3•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•