Something that would be useful in the MSP430X version of gcc would be to have the compiler generate a warning (or error) when a user attempts to reference a far function or data, without a cast. This would apply if the -mdata-64k is specified. The compiler now just generates bad code, assuming the far pointer is 16 bits. A warning or error would at least allow the user to clean up their code and find these bad references.
Robert -- View this message in context: http://old.nabble.com/suggestion%3A-MSP430X-far-address-warning-tp27397125p27397125.html Sent from the MSP430 gcc - Users mailing list archive at Nabble.com.
