[mythtv-firehose] mythtv branch master updated by beirdo. v0.26-pre-774-ge4f3d08

Git Repo Owner noreply at mythtv.org
Thu Jul 5 08:55:30 UTC 2012


The branch, master has been updated on the
mythtv repository by gitolite user beirdo.
       via  e4f3d088815b7f08650eec915da97acacf565d21 (commit)
      from  acaccbb983690589ba663418d6d2f53f6c341c7c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e4f3d088815b7f08650eec915da97acacf565d21
Author:    Gary Buhrmaster <gary.buhrmaster at gmail.com> at Thu, 5 Jul 2012 01:52:38 -0700
Committer: Gavin Hurlbut <ghurlbut at mythtv.org> at Thu, 5 Jul 2012 01:52:38 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e4f3d088815b7f08650eec915da97acacf565d21

use qIsNaN in place of ::isnan
Feature patch for g++ C++0x/C++11 standards compliance

When compiling with g++ and specifing -std=c++0x the compilation fails in
mythplayer.cpp due to a namespace collision for isnan (std:: and math::).

Patch attached which changes mythplayer to use the Qt function qIsNaN,
providing a platform neutral implementation now that Qt has made that
function available (in Qt 4.6).

Since MythTV does not currently specify use of the new C++ standards, this
patch is not necessary at this time, but may useful be at some future date
(when gcc defaults to the C++11 standards?)

Fixes #10524

Signed-off-by: Gavin Hurlbut <ghurlbut at mythtv.org>



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythtv/mythplayer.cpp |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

-- 



More information about the mythtv-firehose mailing list