<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - "./util/u_inlines.h", line 83: operands have incompatible types: void ":" int"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93189#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - "./util/u_inlines.h", line 83: operands have incompatible types: void ":" int"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93189">bug 93189</a>
from <span class="vcard"><a class="email" href="mailto:alan.coopersmith@oracle.com" title="Alan Coopersmith <alan.coopersmith@oracle.com>"> <span class="fn">Alan Coopersmith</span></a>
</span></b>
<pre>(In reply to Jose Fonseca from <a href="show_bug.cgi?id=93189#c2">comment #2</a>)
<span class="quote">> Anybody knows a reliable way to detect Solaris CC on configure.ac?</span >
Whoops, missed this part. It's easy - autoconf will set $GCC to "no".
A more definitive way involves checking if the C compiler defines
__SUNPRO_C or the C++ compiler defines __SUNPRO_CC - for instance, in
the xorg-macros.m4 for autoconf, see the XORG_COMPILER_BRAND macro:
<a href="http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in?id=util-macros-1.19.0#n1500">http://cgit.freedesktop.org/xorg/util/macros/tree/xorg-macros.m4.in?id=util-macros-1.19.0#n1500</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>