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

MythTV mythtv at cvs.mythtv.org
Mon Jul 7 00:42:06 UTC 2008


#5510: compile parse error in jobsqueue member function QueueJobs
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |       Owner:  ijr       
     Type:  defect                           |      Status:  new       
 Priority:  trivial                          |   Milestone:  unknown   
Component:  mythtv                           |     Version:  0.21-fixes
 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.

 This is the same as ticket #5423. But the patch is for 0.21-fixes

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


More information about the mythtv-commits mailing list