> -----Original Message----- > From: Bob Paddock [mailto:bob.padd...@gmail.com] > Sent: Sunday, March 01, 2009 9:59 AM > To: Weddington, Eric > Cc: avr-gcc-list@nongnu.org > Subject: Re: [avr-gcc-list] Re: C vs. assembly performance > > Would be nice. There are probably legal issues with doing that. > MISRA is one of those things you must buy. There are not Open Source > versions, as MISRA does not allow the distribution of the > rules without > proper licensing.
I wasn't aware of that. How disgusting. > MISRA aside I think everyone should invest in their own copy of Lint, > especially people new to the language. One of the few tools > priced within > the range of an individual. There is the Open Source Splint: > http://www.splint.org/ , however I'm not very familiar with it. I've looked briefly into building splint and redistributing it with WinAVR. IIRC, I had problems with building it. But I still think it's a good idea. > After a while you get to the point of writing your code where > you end up with > a dialog going on in your head: "Lint is going to complain > about that, do > it this way instead". For example while(1){} per Lint and MISRA 13.7, > should be for(;;){} to prevent "constant value Boolean" error. That is totally stupid. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list