Hi Rob, _error message were counter before, as they just raise an error and stop the compilation. It's a good thing _warn messages are now counted. As you said, the better option would be the compiler to check restrictions. "Hiding" a warning message from device files will cause troubles eventually.
Cheers, Seb 2010/11/29 Rob Hamerling <[email protected]> > > Hi guys, > > I've done some tests with the new 2.4o-beta compiler. > Among others it changed the handling of _warn and _error messages. A number > of device files (e.g. 16f73) contain a warning for calculations with > variables over 16 bits because these chips have no shared memory which is > needed for this type of calculations. This warning is fixed and issued > always, even when the program does not use this type of variables. > The _error and -warn messages were previously not counted for the result of > the compilation, but are now! As a result many samples do not compile > anymore with 0 errors, and 0 warnings! > > What shall we do? I think the most sensible option is to remove the warning > from the device files and put it in the devicefile doc. > The disadvantage is that a program may fail without notice because of this > restriction. > > A better option would be when the compiler issues a message when a program > actually hits this restriction. > > Regards, Rob. > > -- > R. Hamerling, Netherlands --- 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]<jallib%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jallib?hl=en. > > -- Sébastien Lelong http://www.sirloon.net http://sirbot.org -- 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.
