[mythtv] Ticket #3062: Freebsd compatibility patches
nigel at ind.tansu.com.au
Thu Feb 15 02:11:00 UTC 2007
>>>> yuv2rgb.cpp - Don't see the need. The values should
>>>> all be small positives (''e.g.'' UCHAR_MAX is 255)
>>> fails to compile otherwise.
>> What is the error message?
> that is strange: on my own box ( 6.1, gcc3.4.4 ) is doesn't error.
> but if i go to the amd64-mythtv-0.20-box ( 6.2, gcc3.4.6 ) is does
> In function `void yuv420_argb32_non_mmx(unsigned char*, unsigned ch
> ar*, unsigned char*, unsigned char*, int, int, int, int, int, int)':
> yuv2rgb.cpp:444: error: no matching function for call to `min
> (unsigned int, cons
> t int&)'
> me thinks that it might have to do with different mmx-detection ( ie:
> mmx is detected on my own machine and hence no compile error ).
Good thinking, although non-MMX BSD-ish platforms
(e.g. PPC OS X) seem to compile it OK?
Next time you are playing on that machine,
maybe email me config.h and gcc -E on that file?
Nigel Pearson, nigel at ind.tansu.com.au|"Look at this!
Telstra Net. Eng., Sydney, Australia | Do you think I put this in
Office: 9202 3900 Fax: 9261 3912 | to get better reception?"
Mobile: 0408 664435 Home: 9792 6998 | Batty - Fern Gully
More information about the mythtv-dev