[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
Mon Aug 10 07:46:38 PDT 2015


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

--- Comment #8 from Roland Scheidegger <sroland at vmware.com> ---
What a mess...
I found some reference that for c++ you need to define __STDC_LIMIT_MACROS
before including <stdint.h> to make it work. Dunno though if that's the problem
here. Also, do we need to include <limits.h>?
Otherwise I'd just say we should ditch the longs. Not worth the trouble for
something every caller just converts to an int anyway (even if it means that
indeed _mesa_lroundevenf() wouldn't quite be lrintf equivalent, but who cares).

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


More information about the mesa-dev mailing list