Skip to content

Quality control?

Got a piece of software into my hands, a driver for a DSL box. No Makefile's in the archive, no documentation, nothing. Just some directories with a lot of subdirectories and a buzzword "feature": a lot of code is self-generated from XML files.

Ok, some steps later, i ran into a compiler error: "error: invalid lvalue in assignment". Uff ...

After deep debugging into a lot of recursive and self-creating include files, there was this specific error:

(xml_user_context_t *)ucontext = __c_ctxt->global->uctxt;

After moving the cast part to the (in every meaning) right side of the assignment, things are working. At least for this part.

I bet, this was never compiling before, but it was released software from the manufacturer of the chips ...


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options