[Mesa-dev] [Bug 91591] rounding.h:102:2: error: #error "Unsupported or undefined LONG_BIT"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 9 13:13:28 PDT 2015


Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
           Keywords|                            |bisected

--- Comment #1 from Vinson Lee <vlee at freedesktop.org> ---
21ccdbdb5dd87b2ee66c4e78b011ec4df29efb98 is the first bad commit
commit 21ccdbdb5dd87b2ee66c4e78b011ec4df29efb98
Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Sun Aug 9 11:25:41 2015 +0100

    util: Cope with LONG_BIT not being defined on Windows.

    Neither MSVC nor MinGW defines LONG_BIT.  For MSVC this was not a problem
    it doesn't define __x86_64__ macro (it's GCC specific.)

    However on Windows long type is guaranteed to be 32bits.

    Also add an #error, as GCC will just warn, not throw any error, when no
    value is returned.


:040000 040000 350b7ab0ecfaf0f65abf3a25ebf014bfa025ddcf
c3c1bc37290d1e52e77cc05a78d9ee8c35747ce1 M    src
bisect run success

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

More information about the mesa-dev mailing list