This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SV: Re: MISRA C support for GCC?
- From: David Daney <ddaney at avtrex dot com>
- To: fredrik at hederstierna dot com
- Cc: Daniel Jacobowitz <drow at false dot org>, gcc at gcc dot gnu dot org
- Date: Mon, 21 Nov 2005 13:13:49 -0800
- Subject: Re: SV: Re: MISRA C support for GCC?
- References: <hedersti_43822f5fd4937@webmail.hederstierna.com>
Fredrik Hederstierna wrote:
Not that I know of, and personally I think it's a terrible idea,
Ok, you might be right, but I'm curious why you think it's so terrible though.
Some people chafe at the idea of arbitrary restrictions being put on
them in the name of protecting them from themselves.
I cannot speak for others, but my quick look as what MISRA C is, left me
not really wanting to be subjected to it.
GCC is meant to be a standards complaint compiler suite. 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. Although
g++ does have the effective-c++ warnings which are in a similar vein.
David Daney.