Parent document is top of "comp.unix.aix Frequently Asked Questions (Part 4 of 5)"
Previous document is "2.10: Why do I get 'Parameter list cannot contain fewer ....'"
Next document is "2.12: Some more common errors"
2.11: Why does xlc complain about '(sometype *)somepointer = something'
Software that is developed using gcc may have this construct. However,
standard C does not permit casts to be lvalues, so you will need to
change the cast and move it to the right side of the assignment. If you
compile with 'cc', removing the cast completely will give you a warning,
'xlc' will give you an error (provided somepointer and something are of
different types - but else, why would the cast be there in the first place?)
Parent document is top of "comp.unix.aix Frequently Asked Questions (Part 4 of 5)"
Previous document is "2.10: Why do I get 'Parameter list cannot contain fewer ....'"
Next document is "2.12: Some more common errors"