Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10524: g++ C++ standards compliance patch

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Mar 28, 2012, 11:23 AM

Post #1 of 3 (59 views)
Permalink
Ticket #10524: g++ C++ standards compliance patch

#10524: g++ C++ standards compliance patch
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Type: Patch - Feature
<gary.buhrmaster@…> | Priority: minor
Status: new | Component: MythTV - Video
Milestone: unknown | Playback
Version: Unspecified | Severity: low
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
(Part 2 of 2, since the patches are in different components)


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?)

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10524>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 5, 2012, 1:55 AM

Post #2 of 3 (34 views)
Permalink
Re: Ticket #10524: g++ C++ standards compliance patch [In reply to]

#10524: g++ C++ standards compliance patch
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Owner: Gary Buhrmaster
<gary.buhrmaster@…> | <gary.buhrmaster@…>
Type: Patch - Feature | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: Unspecified
Severity: low | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by Gary Buhrmaster <gary.buhrmaster@…>):

* owner: => Gary Buhrmaster <gary.buhrmaster@…>
* status: new => closed
* resolution: => fixed


Comment:

In [changeset:e4f3d088815b7f08650eec915da97acacf565d21/mythtv]:
{{{
#!CommitTicketReference repository="mythtv"
revision="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>
}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10524#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Jul 5, 2012, 1:56 AM

Post #3 of 3 (34 views)
Permalink
Re: Ticket #10524: g++ C++ standards compliance patch [In reply to]

#10524: g++ C++ standards compliance patch
-------------------------------------+-------------------------------------
Reporter: Gary Buhrmaster | Owner: Gary Buhrmaster
<gary.buhrmaster@…> | <gary.buhrmaster@…>
Type: Patch - Feature | Status: closed
Priority: minor | Milestone: 0.26
Component: MythTV - Video Playback | Version: Unspecified
Severity: low | Resolution: fixed
Keywords: | Ticket locked: 0
-------------------------------------+-------------------------------------
Changes (by beirdo):

* milestone: unknown => 0.26


--
Ticket URL: <http://code.mythtv.org/trac/ticket/10524#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.