WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug