[vlc-devel] Re: directx.c update breaks builds.

Tony Anecito adanecito at yahoo.com
Mon Apr 30 04:22:50 CEST 2007


Never mind. I found the issue my mistake. I was working on another issue in directx.c and did not finish putting my fix for the potential issue in Manage() function. Seems the check for dual monitors was not working for me with a single monitor system.
   
  When I am done with a jre issue I will look closer to see if the sensing of position of windows relative to edges of screen area is correct. For some reason the Manage function wants to use another monitor which I do not have and my video card does not support.
   
  Regards,
  -Tony

Tony Anecito <adanecito at yahoo.com> wrote:
    Hi All,
   
  Whoever did the last update for directx.c may have broke the windows build. I get the following error when running make.
   
   -Wmissing-prototypes -MT libvout_directx_plugin_a-directx.o -MD -MP -MF .deps/l
ibvout_directx_plugin_a-directx.Tpo -c -o libvout_directx_plugin_a-directx.o `te
st -f 'directx.c' || echo './'`directx.c
In file included from directx.c:47:
/usr/win32/include/ddraw.h:14: warning: ignoring #pragma warning
In file included from directx.c:47:
/usr/win32/include/ddraw.h:5552: warning: ignoring #pragma warning
directx.c:157: warning: initialization discards qualifiers from pointer target t
ype
directx.c:158: warning: initialization discards qualifiers from pointer target t
ype
directx.c: In function `vlc_entry__0_9_0b':
directx.c:173: warning: assignment from incompatible pointer type
directx.c:173: warning: assignment from incompatible pointer type
directx.c: In function `Manage':
directx.c:591: error: parse error before ')' token
directx.c: In function `FirstDisplay':
directx.c:875: warning: cast does not match function type
directx.c: At top level:
directx.c:904: warning: no previous prototype for 'DirectXEnumCallback'
directx.c:2126: warning: no previous prototype for 'DirectXEnumCallback2'
directx.c: In function `DirectXEnumCallback2':
directx.c:2131: warning: assignment from incompatible pointer type
directx.c:2134: warning: assignment from incompatible pointer type
directx.c: In function `FindDevicesCallback':
directx.c:2164: warning: passing arg 1 of `free' discards qualifiers from pointe
r target type
directx.c:2165: warning: passing arg 1 of `free' discards qualifiers from pointe
r target type
make[6]: *** [libvout_directx_plugin_a-directx.o] Error 1
make[6]: Leaving directory `/home/administrator/vlc-trunk/modules/video_output/d
irectx'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/administrator/vlc-trunk/modules/video_output/d
irectx'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/administrator/vlc-trunk/modules/video_output'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/administrator/vlc-trunk/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/administrator/vlc-trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/administrator/vlc-trunk'
make: *** [all] Error 2
   
   
  Please address as soon as possible.
  Regards,
  -Tony
   
    
---------------------------------
  Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos. 

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070429/cf5d97ae/attachment.html>


More information about the vlc-devel mailing list