Hi,

   I just got avifile-0.7.16-20020913.tgz to use with drip (drip.sf.net) 
on a Mandrake 9, which uses gcc 3.2. It compiles fine except for 
one error in lib/video/renderer.cpp:

[...]
renderer.cpp: In member function `virtual avm::IRtConfig* 
avm::YUVRenderer::GetRtConfig() const':
renderer.cpp:2172: conditional expression between distinct pointer types 
`avm::XvRtConfig*' and `avm::SDLGRtConfig*' lacks a cast
renderer.cpp:2172: invalid conversion from `void*' to `avm::IRtConfig*'
[...]

Changing the line to :

    virtual IRtConfig* GetRtConfig() const { return (IRtConfig*)m_pXvRtConfig ? 
(IRtConfig*)m_pXvRtConfig : (IRtConfig*)m_pSdlgRtConfig; }

seems to be OK (but haven't tested how it behaves on less recent 
gcc versions), and I just checked it was not in the CVS.

        Cheers (and thanks for a great, useful project !),

                Vincent
-- 
Vincent Favre-Nicolin
Universit� Joseph Fourier - Grenoble, France
http://v.favrenicolin.free.fr
ObjCryst & Fox : http://objcryst.sourceforge.net

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to