clang-cl warnings: fields initialized out of order in TextureD3D9.cpp

RESOLVED FIXED in Firefox 52

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: froydnj, Unassigned)

Tracking

unspecified
mozilla52
Points:
---

Firefox Tracking Flags

(firefox52 fixed)

Details

(Reporter)

Description

2 years ago
clang-cl complains thusly:

16:23.04 c:/m-c/gfx/layers/d3d9/TextureD3D9.cpp(743,3):  warning: field 'mFormat' will be initialized after field 'mTexture' [-Wreorder]
16:23.04 : mFormat(aFormat)
16:23.04   ^
16:23.04 c:/m-c/gfx/layers/d3d9/TextureD3D9.cpp(745,3):  warning: field 'mHandle' will be initialized after field 'mDevice' [-Wreorder]
16:23.04 , mHandle(aHandle)
16:23.04   ^

Comment 1

2 years ago
Pushed by jmuizelaar@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/857e5699df7b
Reorder fields to avoid clang-cl warning.

Comment 2

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/857e5699df7b
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox52: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.