[mythtv-commits] Ticket #9996: Compilation on windows failed after commit d82f8c71ba88f45ea05ee32e69a202d97795a885 and still fails after 84aad2361023e393d3580e5aa1b91bd54767fd6a

MythTV noreply at mythtv.org
Fri Aug 19 07:52:20 UTC 2011


#9996: Compilation on windows failed after commit
d82f8c71ba88f45ea05ee32e69a202d97795a885 and still fails after
84aad2361023e393d3580e5aa1b91bd54767fd6a
--------------------------------------------+----------------------------
 Reporter:  Jonathan <jonathan@…>           |          Owner:  beirdo
     Type:  Bug Report - General            |         Status:  closed
 Priority:  minor                           |      Milestone:  0.25
Component:  Ports - Windows                 |        Version:  Trunk Head
 Severity:  medium                          |     Resolution:  fixed
 Keywords:                                  |  Ticket locked:  0
--------------------------------------------+----------------------------
Changes (by Github):

 * status:  assigned => closed
 * resolution:   => fixed
 * milestone:  unknown => 0.25


Comment:

 Fix compilation for Windows

 Changed the static_cast<uint64_t> to (uint64_t) -- a C-style cast -- as it
 works on both Linux and Windows in the intended way.

 Also, added PREFIX64 to replace "%llX" with "%I64X" and "%lld" with
 "%I64d"
 on mingw (Windows) builds.  Seems the MS Runtime doesn't do 64-bit in the
 same
 way as glibc.  Figures.  See:
 http://msdn.microsoft.com/en-us/library/tcxf1dw6(v=vs.71).aspx

 Fixes #9996
  Branch:    master
  Changeset: 60e7634b67ad6270210c1dfb5a83f26ab65d81b1

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9996#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list