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
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to