[mythtv] MythMusic Qt4 port problems

Nigel Pearson nigel at ind.tansu.com.au
Sat Mar 14 03:25:31 UTC 2009


> The branch itself won't compile on any platform right now, I assume  
> you mean
> trunk after the merges?

Yep.

No problems on the Linux machines I tried (GCC 4.1.2),
but Mac OS 10.4.* uses GCC 4.0.1, and there is no data()
in its /usr/include/c++/4.0.0/bits/stl_vector.h

Short of hacking the OS headers, the only
other fix I can devise is something like:

-    double *magnitudesp = magnitudes.data();
+    double *magnitudesp = &magnitudes[0];


--
Nigel Pearson, nigel at ind.tansu.com.au|Excuse me, have you seen a     |
Telstra Net. Eng., Sydney, Australia | blowfish driving a sports car?|
Office: 9202 3900    Fax:  9261 3912 |      (points ... mutters)     |
Mobile: 0408 664435  Home: 9792 6998 |             Bloody Torchwood! |





More information about the mythtv-dev mailing list