
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
|