Hi,

i got a compile error with the new version 0.6.0 on my i686 (same error on 
x86_64 box):

=========
...
In file included from glamor_priv.h:1027:0,
                 from glamor_xv.c:35:
glamor_utils.h:1821:2: warning: #warning "Indirect GLX may be broken, need to 
implement context switch." [-Wcpp]
 #warning "Indirect GLX may be broken, need to implement context switch."
  ^
glamor_xv.c:133:5: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
     {XvSettable | XvGettable, -1000, 1000, "XV_BRIGHTNESS"},
     ^
glamor_xv.c:134:5: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
     {XvSettable | XvGettable, -1000, 1000, "XV_CONTRAST"},
     ^
glamor_xv.c:135:5: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
     {XvSettable | XvGettable, -1000, 1000, "XV_SATURATION"},
     ^
glamor_xv.c:136:5: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
     {XvSettable | XvGettable, -1000, 1000, "XV_HUE"},
     ^
glamor_xv.c:137:5: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
     {XvSettable | XvGettable, 0, 1, "XV_COLORSPACE"},
     ^
glamor_xv.c: In function 'glamor_display_textured_video':
glamor_xv.c:445:1: error: implicit declaration of function 
'DamageDamageRegion' [-Werror=implicit-function-declaration]
 DamageDamageRegion(port_priv->pDraw, &port_priv->clip);
 ^
glamor_xv.c:445:1: warning: nested extern declaration of 'DamageDamageRegion' 
[-Wnested-externs]
glamor_xv.c: At top level:
glamor_xv.c:569:3: warning: initialization discards 'const' qualifier from 
pointer target type [enabled by default]
   "XV_IMAGE",
   ^
glamor_xv.c: In function 'glamor_xv_init':
glamor_xv.c:596:14: warning: assignment discards 'const' qualifier from pointer 
target type [enabled by default]
  adapt->name = "GLAMOR Textured Video";
              ^
cc1: some warnings being treated as errors
Makefile:606: recipe for target 'glamor_xv.lo' failed
make[2]: *** [glamor_xv.lo] Error 1
make[2]: Leaving directory '/srv/tmp/build/glamor-egl/build/glamor-
egl-0.6.0/src'
Makefile:487: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/srv/tmp/build/glamor-egl/build/glamor-egl-0.6.0'
Makefile:393: recipe for target 'all' failed
make: *** [all] Error 2
=========

Removing "-Werror=implicit" makes it compiling but is that really the 
solution?

-- 
Thomas
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to