[mythtv-commits] Ticket #12764: Bug fix - compilation of abs function with latest gcc/libstdc++

MythTV noreply at mythtv.org
Wed Jun 8 14:33:42 UTC 2016


#12764: Bug fix - compilation of abs function with latest gcc/libstdc++
-------------------------------------------------+-------------------------
 Reporter:  Gary Buhrmaster <gary.buhrmaster@…>  |          Owner:  stuarta
     Type:  Patch - Bug Fix                      |         Status:
                                                 |  assigned
 Priority:  minor                                |      Milestone:  0.28.1
Component:  MythTV - Video Library               |        Version:  Master
                                                 |  Head
 Severity:  medium                               |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by Gary Buhrmaster <gary.buhrmaster@…>):

 Replying to [comment:1 stuarta]:
 > Does this also work if you do the change as follows??

 'std::abs', not '::abs', works (well, it compiles, I have no idea about
 the visualization results).

 I was under the impression (based on the wording in the "coding standards"
 wiki entry) that using Qt abstraction was usually preferred, which is why
 I suggested the Qt variant in this case.

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


More information about the mythtv-commits mailing list