avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Re: C vs. assembly performance


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Re: C vs. assembly performance
Date: Sun, 1 Mar 2009 13:39:18 -0700

 

> -----Original Message-----
> From: Bob Paddock [mailto:address@hidden 
> Sent: Sunday, March 01, 2009 9:59 AM
> To: Weddington, Eric
> Cc: address@hidden
> 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.
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]