[Webkit-unassigned] [Bug 52401] Make CheckedInt<long> and CheckedInt<unsigned long> work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 13 20:48:23 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52401





--- Comment #4 from Benoit Jacob <bjacob at mozilla.com>  2011-01-13 20:48:23 PST ---
OK, so, at a quick glance, the most likely reason for this not working is that CheckedInt relies on template specializations of integer_type_manually_recorded_info<T> for types such as int32_t, int64_t, etc, and probably 'long' doesn't match any of those types, hence it fails to compile?

One must be careful here of not breaking the case where long is the same type as one of the int32_t (etc) types. The solution is to let the general case of integer_type_manually_recorded_info<T> check for a few types such as long, int, etc, before bailing out and declaring the type as unsupported as it currently does. Will provide patch asap.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list