[vlc-devel] Qt4 C++ miscompile

Rémi Denis-Courmont rdenis at simphalempin.com
Sat Jun 28 22:13:17 CEST 2008


Le samedi 28 juin 2008 10:19:06 Jean-Baptiste Kempf, vous avez écrit :
>   Windows builds fail on:
>   qt4.cpp: In function 'int vlc_entry__0_9_0l(module_t*)':
>   qt4.cpp:213: error: overloaded function with no contextual type
>   information

I assume Win32 API defines CloseWindow, and the C++ compiler does not know 
which of two functions with the same name to use. Should be fixed.

>  which is:
>    set_callbacks( OpenWindow, CloseWindow );
>  If the line is changed to:
>    set_callbacks( OpenWindow, Close );
>  It works.

compiles != works.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list