Closed
Bug 509579
Opened 15 years ago
Closed 15 years ago
Have IPDL generate code that doesn't warn about using 'this' in initializer lists
Categories
(Core :: IPC, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bent.mozilla, Unassigned)
Details
Currently some code generated looks like this: NPAPIProtocolParent() : mChannel(this) { ... } This warns on windows: warning C4355: 'this' : used in base member initializer list Chromium code has a nice macro, ALLOW_THIS_IN_INITIALIZER_LIST that silences that warning. I'd like to do something like that so that I don't have to read all these warnings every time I compile.
Pushed http://hg.mozilla.org/projects/electrolysis/rev/3dd12d04da9a
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•