Summary: | ir_constant_expression.cpp(1384) : error C3861: 'isnormal': identifier not found | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | CC: | mattst88 |
Version: | git | Keywords: | regression |
Hardware: | x86-64 (AMD64) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2013-09-18 18:32:52 UTC
FWIW it looks like MSVC 2013 added isnormal(), but still lacks copysign(): http://blogs.msdn.com/b/vcblog/archive/2013/07/19/c99-library-support-in-visual-studio-2013.aspx commit 6d29db715b8d60718ada1ab8ad19d969cac43caf Author: Vinson Lee <vlee@freedesktop.org> Date: Sun Sep 22 16:08:26 2013 -0700 glsl: Define isnormal and copysign for MSVC to fix build. This patch fixes these MSVC build errors. ir_constant_expression.cpp src\glsl\ir_constant_expression.cpp(564) : warning C4244: '=' : conversion from 'int' to 'float', possible loss of data src\glsl\ir_constant_expression.cpp(1384) : error C3861: 'isnormal': identifier not found src\glsl\ir_constant_expression.cpp(1385) : error C3861: 'copysign': identifier not found Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69541 Signed-off-by: Vinson Lee <vlee@freedesktop.org> Acked-by: Matt Turner <mattst88@gmail.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.