<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - rounding.h:102:2: error: #error "Unsupported or undefined LONG_BIT""
href="https://bugs.freedesktop.org/show_bug.cgi?id=91591#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - rounding.h:102:2: error: #error "Unsupported or undefined LONG_BIT""
href="https://bugs.freedesktop.org/show_bug.cgi?id=91591">bug 91591</a>
from <span class="vcard"><a class="email" href="mailto:kallisti5@unixzen.com" title="Alexander von Gluck <kallisti5@unixzen.com>"> <span class="fn">Alexander von Gluck</span></a>
</span></b>
<pre>LONG_BIT really isn't standard at all. It isn't defined here on ArchLinux nor
is it defined on Haiku.
I've seen mentions of doing the following:
CHAR_BIT * sizeof(long)
Archiving build/haiku-x86_64-debug/gallium/auxiliary/libgallium.a ...
In file included from src/mesa/main/macros.h:36:0,
from src/util/register_allocate.c:77:
src/util/rounding.h: In function '_mesa_lroundevenf':
src/util/rounding.h:102:2: error: #error "Unsupported or undefined LONG_BIT"
#error "Unsupported or undefined LONG_BIT"
^
src/util/rounding.h:107:1: warning: no return statement in function returning
non-void [-Wreturn-type]
}
^
src/util/rounding.h: In function '_mesa_lroundeven':
src/util/rounding.h:122:2: error: #error "Unsupported or undefined LONG_BIT"
#error "Unsupported or undefined LONG_BIT"
^
src/util/rounding.h:127:1: warning: no return statement in function returning
non-void [-Wreturn-type]
}
^
Compiling src/util/strtod.c ...
scons: *** [build/haiku-x86_64-debug/util/register_allocate.os] Error 1
Generating build/haiku-x86_64-debug/util/format_srgb.c ...
Indexing build/haiku-x86_64-debug/gallium/auxiliary/libgallium.a ...
scons: building terminated because of errors.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>