<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [regression] Compilation fails for weston unit tests"
href="https://bugs.freedesktop.org/show_bug.cgi?id=57129">57129</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[regression] Compilation fails for weston unit tests
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ullysses.a.eoff@intel.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>First bad commit:
<a href="http://cgit.freedesktop.org/wayland/weston/commit/?id=320711db0a2e7ce11664198cefc6c3182f8ca273">http://cgit.freedesktop.org/wayland/weston/commit/?id=320711db0a2e7ce11664198cefc6c3182f8ca273</a>
The weston unit tests fail to compile using 'make check' with the following
error:
surface-global-test.c: In function 'surface_to_from_global':
surface-global-test.c:30:2: error: unknown type name 'GLfloat'
surface-global-test.c:38:2: warning: passing argument 4 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:38:2: warning: passing argument 5 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:41:2: warning: passing argument 4 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:41:2: warning: passing argument 5 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:48:2: warning: passing argument 4 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:48:2: warning: passing argument 5 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:51:2: warning: passing argument 4 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:51:2: warning: passing argument 5 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
Exception: Error status 1 from /usr/lib64/ccache/gcc
make[2]: *** [surface-global-test.lo] Error 1
make[2]: Leaving directory `/home/uartie/Work/intel/wayland/build/weston/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/uartie/Work/intel/wayland/build/weston/tests'
make: *** [check-recursive] Error 1
warn: "make -e check" failed - exitcode 2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>