Build warning: ‘mozilla::ipc::SyncChannel::mTimeoutMs’ will be initialized after...‘bool mozilla::ipc::SyncChannel::mInTimeoutSecondHalf’

RESOLVED FIXED in mozilla12

Status

()

Core
IPC
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: dholbert, Assigned: dholbert)

Tracking

(Blocks: 1 bug)

Trunk
mozilla12
x86_64
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Build warning:
{
SyncChannel.h: In constructor ‘mozilla::ipc::SyncChannel::SyncChannel(mozilla::ipc::SyncChannel::SyncListener*)’:
SyncChannel.h:198:11: warning: ‘mozilla::ipc::SyncChannel::mTimeoutMs’ will be initialized after [-Wreorder]
SyncChannel.h:197:10: warning:   ‘bool mozilla::ipc::SyncChannel::mInTimeoutSecondHalf’ [-Wreorder]
SyncChannel.cpp:59:1: warning:   when initialized here [-Wreorder]
}
(Assignee)

Comment 1

6 years ago
Created attachment 592813 [details] [diff] [review]
fix v1: reorder init list
Attachment #592813 - Flags: review?
(Assignee)

Updated

6 years ago
Attachment #592813 - Flags: review? → review?(jmathies)

Updated

6 years ago
Attachment #592813 - Flags: review?(jmathies) → review+
(Assignee)

Comment 2

6 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/9f162faf97d2
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla12

Comment 3

6 years ago
https://hg.mozilla.org/mozilla-central/rev/9f162faf97d2
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.