[mythtv-commits] Ticket #6837: MythArchive fails to compile after [21213] (at least on windows)

MythTV mythtv at cvs.mythtv.org
Thu Aug 13 09:06:48 UTC 2009


#6837: MythArchive fails to compile after [21213] (at least on windows)
----------------------------------------------------+-----------------------
 Reporter:  Jonathan Martens <jonathan at snetram.nl>  |       Owner:  ijr 
     Type:  defect                                  |      Status:  new 
 Priority:  minor                                   |   Milestone:  0.22
Component:  MythTV - General                        |     Version:  head
 Severity:  medium                                  |     Mlocked:  0   
----------------------------------------------------+-----------------------
 It seems that after [21213] MythArchive fails to compile with the
 following error (at least on Windows):

 pxsup2dast.c: In function 'pxsubtitle':
 pxsup2dast.c:810: error: 'uint' undeclared (first use in this function)
 pxsup2dast.c:810: error: (Each undeclared identifier is reported only once
 pxsup2dast.c:810: error: for each function it appears in.)
 pxsup2dast.c:810: error: expected ';' before 'len'
 pxsup2dast.c:811: error: 'len' undeclared (first use in this function)
 pxsup2dast.c:830: error: expected ';' before 'len'
 make[2]: *** [pxsup2dast.o] Error 1
 make[2]: Leaving directory
 `/u/mythtv/mythplugins/mytharchive/mytharchivehelper'

 This is because in this changeset on a few places int was replaced with
 uint to suppress messages on unsigned integer use. However C does not
 support the uint type AFAIK, we can do two things:

 1. typedef unsigned int uint;

 2. replace the occurrences of

  uint

 with

  unsigned int

 The latter would be better I think as it saves us some compiler specific
 directives.

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


More information about the mythtv-commits mailing list