Hi William,
William wrote: > So, are they warnings or errors? Actually warnings. But JSG says: Consider warnings as errors. > Either way, I'll fix them, but I'd > prefer to wait until I am running that compiler, or at least have the > hardware set up again, so I can actually test the changes on a real > system. I've used the type conversion in some other places, seems odd > that I missed those. OK, the compiler (2.4m) will help you. I forgot to mention the main point of my previous message. I wanted to plead in favour of using the very latest (beta) compiler by all Jallib users. This way we'll anticipate upcoming changes and we'll not be unpleasantly surprised at release time by unexpected changes. Regards, Rob. [RobH] >> Most of the time I use the latest (beta-) compiler, today that is >> 2.4m-beta. While testing the new device files by compiling all samples I >> got several error messages on 2 samples: 16f819_canopen_mcp2515 and >> 16f819_mcp2515_can_monitor: >> warning: assignment to smaller type; truncation possible >> on lines 506,507,508 and 509 of library can_mcp2515. >> I think it is a dword -> byte issue, and requires a type conversion. >> >> Note: no warnings with the 2.4l compiler! -- Rob Hamerling, Vianen, NL (http://www.robh.nl/) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jallib?hl=en -~----------~----~----~----~------~----~------~--~---
