[Bug 71345] intel-virtual-output only updates mouse

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 11 04:21:26 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71345

--- Comment #29 from Florian Erfurth <eyes-killer at gmx.de> ---
(In reply to comment #28)
> Ah, obvious in hindsight!
> 
> commit 3e81a9cbd68344450a6e82130edfef21dd04ec43
> Author: Chris Wilson <chris at chris-wilson.co.uk>
> Date:   Mon Nov 11 10:47:24 2013 +0000

Hi, thank you for update, but there is a compile error:
f.erfurth at 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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20131111/6f501180/attachment.html>


More information about the intel-gfx-bugs mailing list