Closed
Bug 826959
Opened 12 years ago
Closed 11 years ago
Disable the bogus MSVC warning C4355
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: emk, Unassigned)
References
()
Details
>+// We know DecodeRequest won't touch members of RasterImage
>+// until this constructor completes
>+#ifdef _MSC_VER
>+#pragma warning(push)
>+#pragma warning(disable : 4355)
>+#endif
> mDecodeRequest(this),
>+#ifdef _MSC_VER
>+#pragma warning(pop)
>+#endif
:(
Reporter | ||
Comment 1•11 years ago
|
||
I was suggested disabling the warning globally in bug 827032. Morphing this bug for that purpose.
Component: ImageLib → Build Config
Reporter | ||
Updated•11 years ago
|
Summary: Refactor RasterImage and/or DecodeRequest to make the initializer less sucky → Disable the bogus MSVC warning C4355
Comment 2•11 years ago
|
||
People have been working around this using ALLOW_THIS_IN_INITIALIZER_LIST(this) Apparently the Visual Studio team is disabling this warning going forward (or I'm a victim of an internet imposter): http://connect.microsoft.com/VisualStudio/feedback/details/718050 So perhaps we should just disable it and get rid of the macro ugliness.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•