[mythtv-commits] Ticket #13047: compiling with gcc 7.1.0

MythTV noreply at mythtv.org
Fri May 26 22:05:32 UTC 2017


#13047: compiling with gcc 7.1.0
--------------------------------------+-------------------------
     Reporter:  sautingleung@…        |      Owner:
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  Unspecified
     Severity:  medium                |   Keywords:
Ticket locked:  0                     |
--------------------------------------+-------------------------
 Hello

 I ran into a problem compiling 0.28fixes on a gentoo box with gcc version
 7.1.0. The file  mythtv/mythtv/libs/libmythtv/videosource.cpp at around
 line 830 has a line of code "uint minor_num = minor(st.st_rdev);" which
 failed because the minor(st.st_rdev) function is not declared or defined.
 I have attached a patch that allowed the compile to complete successfully.


 Hope this helps

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13047>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list