[mythtv-commits] Ticket #823: Patch: Fix compile issue on GCC-4.1.0 x86_64

MythTV mythtv at cvs.mythtv.org
Sat Dec 17 09:52:37 EST 2005


#823: Patch: Fix compile issue on GCC-4.1.0 x86_64
-----------------------------------+----------------------------------------
 Reporter:  mythtv at feature-it.com  |       Owner:  ijr
     Type:  defect                 |      Status:  new
 Priority:  major                  |   Milestone:     
Component:  mythtv                 |     Version:     
 Severity:  high                   |  
-----------------------------------+----------------------------------------
 datadirect.h contains:

     bool DataDirectProcessor::getNextSuggestedTime(void);

 which should be

     bool getNextSuggestedTime(void);

 GCC 4.1.x is more strict about defining member methods for a class. It
 should not contain the extra "DataDirectProcessor::".

 Patch is:

 Index: libs/libmythtv/datadirect.h
 ===================================================================
 --- libs/libmythtv/datadirect.h (revision 8300)
 +++ libs/libmythtv/datadirect.h (working copy)
 @@ -268,7 +268,7 @@

      void setInputFile(const QString &filename);

 -    bool DataDirectProcessor::getNextSuggestedTime(void);
 +    bool getNextSuggestedTime(void);

      QValueList<DataDirectStation> stations;
      QValueList<DataDirectLineup> lineups;

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


More information about the mythtv-commits mailing list