[PD] pd-extended build on 9.10 /gem 0.92.1 eeepc = no luck with v4l2
Mathieu Bouchard
matju at artengine.ca
Thu Nov 5 00:26:11 CET 2009
On Wed, 4 Nov 2009, IOhannes m zmölnig wrote:
>> recordQT4L.cpp: In function ?lqt_file_type_t guess_qtformat(const char*)?:
>> recordQT4L.cpp:96: error: invalid conversion from ?const char*? to ?char*?
>
> yah, this is dues to an overly pedantic compiler (or probably: invalid
> headers: the line the error is referring to is (here; but i might have a
> different version :-)) using the (const char*) argument to
> guess_qtformat() as input for strchr(). according to my man-pages,
> strchr() indeed takes (const char*) rather than (char*). if this is
> indeed the problem, just add a cast to (const char*) to the call of
> strchr(), and file a bug-report to ubuntu that they are shipping broken
> headers)
hi, the problem is not the type of «filename», it's the type of
«extension», because the error message is about casting const to
non-const, and not the other way around.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
More information about the Pd-list
mailing list