[mythtv-commits] Ticket #980: Compile error when using XVMC on Redhat 9

MythTV mythtv at cvs.mythtv.org
Mon Jan 9 22:44:47 UTC 2006


#980: Compile error when using XVMC on Redhat 9
---------------------+------------------------------------------------------
 Reporter:  kkuphal  |       Owner:  ijr 
     Type:  defect   |      Status:  new 
 Priority:  minor    |   Milestone:      
Component:  mythtv   |     Version:  head
 Severity:  low      |  
---------------------+------------------------------------------------------
 I get the following compile error when compiling SVN 8343 after enabling
 XVMC to do some HD playback testing (I normally do not use it).

 {{{
 videoout_xv.cpp:1071:1: directives may not be used inside a macro argument
 videoout_xv.cpp:1070:17: unterminated argument list invoking macro
 "VERBOSE"
 videoout_xv.cpp: In static member function `static MythCodecID
    VideoOutputXv::GetBestSupportedCodec(unsigned int, unsigned int,
 unsigned
    int, unsigned int, unsigned int, int, bool)':
 videoout_xv.cpp:1077: `VERBOSE' undeclared (first use this function)
 videoout_xv.cpp:1077: (Each undeclared identifier is reported only once
 for
    each function it appears in.)
 videoout_xv.cpp:1077: parse error before `)' token
 videoout_xv.cpp: In member function `virtual void
    VideoOutputXv::UpdatePauseFrame()':
 videoout_xv.cpp:2569: warning: unused variable `
    std::_Deque_iterator<VideoFrame*, VideoFrame*&, VideoFrame**> it'
 videoout_xv.cpp: In member function `void
    VideoOutputXv::ProcessFrameXvMC(VideoFrame*, OSD*)':
 videoout_xv.cpp:2609: warning: unused variable `
    std::_Deque_iterator<VideoFrame*, VideoFrame*&, VideoFrame**> it'
 make[2]: *** [videoout_xv.o] Error 1
 make[2]: Leaving directory `/home/kkuphal/mythtv-
 svn/mythtv/libs/libmythtv'
 make[1]: *** [sub-libmythtv] Error 2
 make[1]: Leaving directory `/home/kkuphal/mythtv-svn/mythtv/libs'
 make: *** [sub-libs] Error 2
 }}}

 It looks like it does not like the define inside the verbose macro.  My
 g++ version is 3.2.2.  I think moving the define around will fix it but
 I'm not sure of the specific intent so I wasn't sure what the appropriate
 patch would be.

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/980>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list