<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - build error sna_dri2.c mark_stale"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88252">88252</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>build error sna_dri2.c mark_stale
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>NetBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>prlw1@cam.ac.uk
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>There is an error in the DRI2INFOREC_VERSION logic:
CC sna_dri2.lo
../../../src/sna/sna_dri2.c: In function 'sna_dri2_flip':
../../../src/sna/sna_dri2.c:1518:2: error: implicit declaration of function
'mark_stale' [-Werror=implicit-function-declaration]
mark_stale(info->back);
mark_stale is defined #if DRI2INFOREC_VERSION >= 6 and is used #if
DRI2INFOREC_VERSION >= 4.
I have DRI2INFOREC_VERSION=5, hence the failure.
It seems to me that the #if DRI2INFOREC_VERSION < 6 section before mark_stale
should have its #endif before mark_stale, but I tried and that causes other
problems...</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>