08-10-2007, 07:42 AM
ylehman Wrote:Is that an official "misra" statement that I can use if I am confronted by the "goto is illegal" dogma :-) when trying to introduce such a macro ?
Thanks
What they have said is you can probably deviate in that situation which is a bit of a cop out. Actually you can deviate any rule.
The question is can you write a deviation that will stand up to external scrutiny in 1 or 2 years time by person(s) not on the development team?
It’s easy to write a deviation that you think is good now but unless the rest of the team and management agree you will be sunk if anything goes wrong.
MISRA is not a religeon but Engineering. It shopuld not be chanted like dogma nor swayed by fashion.