[Mesa-dev] [Bug 85918] Mesa: MSVC 2010/2012 Compile error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 6 07:10:46 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85918

Emil Velikov <emil.l.velikov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|unspecified                 |10.3
         Resolution|---                         |FIXED

--- Comment #5 from Emil Velikov <emil.l.velikov at gmail.com> ---
Pushed to the 10.3 branch. Issue will be fixed in mesa 10.3.3.

commit d5700dc276008decb2a5d63bfa38522c5f4ad3f3
Author: Brian Paul <brianp at vmware.com>
Date:   Wed Sep 10 08:16:24 2014 -0600

    mesa: fix UNCLAMPED_FLOAT_TO_UBYTE() macro for MSVC

    MSVC replaces the "F" in "255.0F" with the macro argument which leads
    to an error.  s/F/FLT/ to avoid that.

    It turns out we weren't using this macro at all on MSVC until the
    recent "mesa: Drop USE_IEEE define." change.

    Reviewed-by: Roland Scheidegger <sroland at vmware.com>
    (cherry picked from commit 9608193cbc6ea14e49adcd0193f9e7c6058d5a2f)
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=85918
    Nominated-by: Roland Scheidegger <sroland at vmware.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20141106/50b891e0/attachment.html>


More information about the mesa-dev mailing list