[mythtv] multiple small win32 compile issues on HEAD...

Andrei Tanas andrei at tanas.ca
Tue Feb 12 17:07:43 UTC 2008


>>audiooutputdigitalencoder.cpp:305: error: invalid conversion from `unsigned 
>>char*' to `const char*'
>audiooutputdigitalencoder.cpp:305: error:   initializing argument 1 of 
>>`void swab(const char*, char*, size_t)'
>audiooutputdigitalencoder.cpp:305: error: invalid conversion from `unsigned 
>>char*' to `char*'
>>audiooutputdigitalencoder.cpp:305: error:   initializing argument 2 of 
>>`void swab(const char*, char*, size_t)'
>>make[2]: *** [audiooutputdigitalencoder.o] Error 1
>>
>>(I didn't know how to fix the one above properly - what does 'swab' do?, so 
>>I stuck an ifndef_WIN32 >around it, which allowed me to continue the 
>>build)
>>
>>I'm still building the rest, but I thought I'd get this out there, so it 
>>can be fixed asap by someone with a commit >>bit.

>in mingw, swab is defined in string.h which Ill include.

As far as I understand it's already included (indirectly) what it needs is a type cast
Sent from BlackBerry®


More information about the mythtv-dev mailing list