Hi David,

i switch the subject to OpenOCD Coding, because this
has nothing to do with the original posting anymore.

> So if you have access to MISRA tools and specifications, which aren't
> exactly public ... are you intending to submit any patches to address
> related issues?

If i have time i will make a check with lint and QAC and
if there are errors, i will submit patches.
90% of the warnings reported are things that complain about "code style"
like
"use const wherever you can" or "reduce visibility only
to the stuff that is really needed". We normally fix every warning,
to get the code lint clean.

> Note that MISRA is not universally lauded.  As I understand, some of
> its practices are contrary to other widely adopted coding policies.

Sure. Some points are a laugh like "a null pointer should not be
dereferenced".
Nonetheless, the code is IMHO at least better maintainable and more clear.


Best Regards,



Carsten
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to