[mythtv-commits] Ticket #5423: compile parse error in jobsqueue member function QueueJobs

MythTV mythtv at cvs.mythtv.org
Tue Jun 10 16:15:34 UTC 2008

#5423: compile parse error in jobsqueue member function QueueJobs
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr    
     Type:  defect                           |      Status:  new    
 Priority:  minor                            |   Milestone:  unknown
Component:  mythtv                           |     Version:  head   
 Severity:  low                              |     Mlocked:  0      
 Because a ctor for QDateTime is called with the class scope the g++
 compile throws a parse error. Now this is not a parse error that ever gets
 thrown out to the user. Instead g++ notices it and says 'Oh, what they
 really want is this' and moves on. But programs that use the parsed output
 of the compiler (like static analysis checkers) cannot analyze the source
 code that includes this header file. So that means that the analyzer
 cannot check things like tv_rec.cpp, tv_play.cpp or NuppleVideoPlayer.cpp.
 Which are perhaps some of the most heavily used classes in libmythtv. So
 it would be nice if this one liner could be put in fairly soon.

Ticket URL: <http://svn.mythtv.org/trac/ticket/5423>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list