RESOLVED FIXED 130403
Visual Studio 2013 complains about implicit casts of uint8_t enums to bool
https://bugs.webkit.org/show_bug.cgi?id=130403
Summary Visual Studio 2013 complains about implicit casts of uint8_t enums to bool
Blaze Burg
Reported 2014-03-18 10:07:31 PDT
Not sure if this is undefined behavior or if its an MSVC bug, but it sure does spam the build output. At JSCell.h:156: void setRemembered(bool remembered) { ASSERT(m_gcData == remembered ? Marked : MarkedAndRemembered); given the following definition enum GCData : uint8_t { Marked = 0, NotMarked = 1, MarkedAndRemembered = 2, };
Attachments
Brent Fulgham
Comment 1 2016-03-22 13:36:02 PDT
I don't see this anymore now that we are on VS2015.
Note You need to log in before you can comment on or make changes to this bug.