David Daney wrote:
Some people chafe at the idea of arbitrary restrictions being put on them in the name of protecting them from themselves.
Such people will not find themselves programming safety critical applications, since in a certified SC environment, such restrictions (which are hardly arbitrary).
I cannot speak for others, but my quick look as what MISRA C is, left me not really wanting to be subjected to it.
Fine, you probably will not find SC environments to be your cup of tea :-)
GCC is meant to be a standards complaint compiler suite.
MISRA C is a standardized language There are
external tools that you can use if you want to enforce further restrictions on your code. Surly one must exist for MISRA C.
Whether it is worth while for compilers to enforce such restrictions is indeed a debtable issue