MISRA-C:2004 references to ISO/IEC 9899

Questions and discussions about MISRA C not fitting under migration or rules forums

Moderators: misra-c, david ward

Post Reply
cschol
Posts: 1
Joined: Wed Dec 05, 2007 8:44 pm
Location: Fort Collins, CO

MISRA-C:2004 references to ISO/IEC 9899

Post by cschol » Sat Jan 12, 2008 12:07 am

Hello,

I just received the MISRA-C:2004 edition and I have a question regarding the references to the C-Standard documentation. The MISRA-C:2004 references explicitely to the ISO/IEC 1990 version and specifically to Annex G. I have a copy of the IEC/ISO 1999 version and Annex G deals with complex numbers, not undefined behavior (which is Annex J). Did the ISO/IEC standard change that much between the 1990 version and the 1999 version that I really need to hunt down a 1990 copy?

Thanks,
Chris

MMouse
Posts: 18
Joined: Thu Jul 05, 2007 12:20 am
Company: Disney
Location: Florida
Contact:

Post by MMouse » Mon Jan 21, 2008 1:42 pm

Hi,

You would have thought that the MISRA-Mob would have made sure the standard they referenced was available!

I have tracked one version down to
http://www.techstreet.com/cgi-bin/detai ... _id=945139

but it's not cheap. (150 USD!)

You can get the TC's from
http://www.open-std.org/JTC1/SC22/WG14/www/standards

and I am certain that some hunting around might throw up the 9899:1990...

as it is the full 9899:1999 +TC1 +TC2 +TC3 is at
http://www.open-std.org/JTC1/SC22/WG14/ ... /n1124.pdf
this is C99 + the TC's which MISRA say is the target standard for MISRA-C3

BTW the list of differences from C90 to C99 is at
http://www.open-std.org/JTC1/SC22/WG14/www/newinc9x.htm

Also is the Rational for C99 which is at
http://www.open-std.org/JTC1/SC22/WG14/ ... eV5.10.pdf

should be a good laugh as as the document
http://www.open-std.org/JTC1/SC22/WG14/ ... /n1264.pdf
wants to add microsoft extensions to it and

http://www.open-std.org/JTC1/SC22/WG14/ ... /n1250.pdf

looks like they may have come to their senses having realised that soem 10 years after they did C99 virtualy no one has fully implimented it yet!

They are looking at removing some C99 things and getting back t the C language as implimented inthe real world.

So whils tMISTA say that C3 will be based on C99 as they get closer to release date they might find that ISO-C is coming the other way to meet them......

What a merry dance.

Post Reply

Return to “General Questions”