<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - intel-virtual-output only updates mouse"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71345#c29">Comment # 29</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - intel-virtual-output only updates mouse"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71345">bug 71345</a>
from <span class="vcard"><a class="email" href="mailto:eyes-killer@gmx.de" title="Florian Erfurth <eyes-killer@gmx.de>"> <span class="fn">Florian Erfurth</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=71345#c28">comment #28</a>)
<span class="quote">> Ah, obvious in hindsight!
>
> commit 3e81a9cbd68344450a6e82130edfef21dd04ec43
> Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
> Date: Mon Nov 11 10:47:24 2013 +0000</span >
Hi, thank you for update, but there is a compile error:
f.erfurth@Precision-M6600:~/temp/triplehead/xf86-video-intel/tools$ make
CC virtual.o
virtual.c: In function ‘init_image’:
virtual.c:669:6: warning: variable ‘ret’ set but not used
[-Wunused-but-set-variable]
int ret;
^
virtual.c: In function ‘display_flush_cursor’:
virtual.c:1140:21: error: ‘c’ undeclared (first use in this function)
DisplayString(c->dst.dpy), x, y, display->cursor_visible));
^
virtual.c:70:23: note: in definition of macro ‘DBG’
#define DBG(x) printf x
^
virtual.c:1140:21: note: each undeclared identifier is reported only once for
each function it appears in
DisplayString(c->dst.dpy), x, y, display->cursor_visible));
^
virtual.c:70:23: note: in definition of macro ‘DBG’
#define DBG(x) printf x
^
virtual.c: In function ‘bad_visual’:
virtual.c:1470:2: warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 6 has type ‘long unsigned int’ [-Wformat=]
DBG(("%s? depth=%d, visual: class=%d, bits_per_rgb=%d, red_mask=%08x,
green_mask=%08x, blue_mask=%08x\n",
^
virtual.c:1470:2: warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 7 has type ‘long unsigned int’ [-Wformat=]
virtual.c:1470:2: warning: format ‘%x’ expects argument of type ‘unsigned int’,
but argument 8 has type ‘long unsigned int’ [-Wformat=]
virtual.c: In function ‘context_enable_timer’:
virtual.c:355:6: warning: ignoring return value of ‘read’, declared with
attribute warn_unused_result [-Wunused-result]
read(ctx->timer, &count, sizeof(count));
^
make: *** [virtual.o] Fehler 1
Please take a look at line 1140, there is an undefined variable c.
Thanx Floh</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>