DescriptionCompile with VS2015.
Visual Studio 2015 has additional warnings around noexcept and
disabling exceptions, which can be worked around with the
(undocumented) _HAS_EXCEPTIONS macro.
Visual Studio 2013 and 2015 have roundf in math.h, so use it to
avoid extra work and casts.
We avoid using cmath, as it undefs isfinite on gcc, but Visual Studio
2015 no longer provides overloads of copysign from math.h (which is
actually correct). As a result, use copysignf (which is available in
math.h in 2013 and 2015) directly.
Committed: https://skia.googlesource.com/skia/+/b7069e9c1f65d11f9581be0adbffa968257afc33
Patch Set 1 #
Total comments: 1
Messages
Total messages: 11 (4 generated)
|