Hello,
compiling avifile with gcc 3.2 I got errors like this:
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*'
make: *** [renderer.lo] Error 1
Well, the source code means sth like this, I think:
virtual IRtConfig* GetRtConfig()
{
if (m_pXvRtConfig)
{ return m_pXvRtConfig; }
else { return m_pSdlgRtConfig; }
}
This works!
Greetings
Georg
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile