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 ...

  • Twitter
  • Bookmark Quality control? at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Quality control?
  • Bloglines Quality control?
  • Technorati Quality control?
  • Fark this: Quality control?
  • Bookmark Quality control? at YahooMyWeb
  • Bookmark Quality control? at Furl.net
  • Bookmark Quality control? at reddit.com
  • Bookmark Quality control? at blinklist.com
  • Bookmark Quality control? at Spurl.net
  • Bookmark Quality control? at Simpy.com
  • Bookmark Quality control? at blogmarks
  • Bookmark Quality control? with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

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