Talk:MISRA C

Fairly major restructure and expansion (2017-05-28)
I've restructured and expanded the article to try and address some of the outstanding issues on this talk page... and plan to do so further. Despite my connection to the subject (see below) I am trying to stick to factual information... Feedback is welcome :-)

Declaration of Interest: I am the current Chairman of the MISRA C Working Group :-) Andrew D Banks (talk) 07:51, 28 May 2017 (UTC)

MISRA C is a secret??
This article is meaningless without some example what the rules are, or some indication of which kind of subset MISRA C is. Yet looking at the websites, there seems to be no meaningful information in the open. Do we need a new list/category proprietary computer languages the definition of which is a secret?? I'd love to be proved wrong. Please. Jmath666 (talk) 03:08, 2 July 2008 (UTC)


 * Point taken. I did a quick look to see if any non-copyrighted material or examples existed, and found none. I will obtain permission to publish some examples from the document. The next MISRA Steering group meeting is 17 July 2008, so check back after that date. Gmccall (talk) 12:55, 4 July 2008 (UTC)


 * Like most standard or guide lines (including ISO or ANSI C) the text is copyright and you have to buy the book. Not everything is free and non-copyright. Many people need to work to 61508 or DO178-B  neither of which are free. Both are copyright and you need to buy the standards in order to use them.  MISRA-C costs a LOT less than either of them.  (only a few USD.) so go buy a copy.  —Preceding unsigned comment added by 80.176.226.26 (talk) 15:08, 17 October 2008 (UTC)


 * No one suggested printing the text itself. Just some code that meets the standard, including comments explaining the rationale behind what the code is doing and why its better to do it that way in that case--184.63.132.236 (talk) 00:31, 30 July 2014 (UTC)
 * The MISRA C example suite is available from GitLab (https://gitlab.com/MISRA/MISRA-C/) Andrew D Banks (talk) 08:04, 17 July 2018 (UTC)
 * As of March 2021, it no longer is. The link you gave states "Private - The group and its projects can only be viewed by members." and "No groups or projects matched your search". --Damian Yerrick (talk) 17:24, 11 March 2021 (UTC)
 * Sorry, missed this reply. You need to be logged in on GitLab... then you have access. Andrew D Banks (talk) 14:38, 30 December 2022 (UTC)


 * It is not "a few dollars", it is now very expensive, £30 in the UK and $70 for US. That is the selling price but it is not even available from the website. "This document is temporarily out of stock." QuentinUK (talk) 22:03, 15 September 2015 (UTC)


 * The PDF of "MISRA C:2012 Guidelines for the use of the C language in critical systems" is in stock for £15 ($23 USD). This isn't too bad compared to "technical standards" from other groups which are way over priced. • Sbmeirow  •  Talk  • 23:18, 15 September 2015 (UTC)


 * The pdf version will always be in stock. Also I live in the UK so the price has 20% tax on top of that. Compare with Cert C, that's £30 for a hard copy from Amazon including free postage. and the e version is free at https://www.securecoding.cert.org/confluence/display/c/SEI+CERT+C+Coding+Standard And also the Japanese ESCR Embedded systems pdf book is also free online http://www.ipa.go.jp/english/sec/reports/index.html Clues about MISRA can be found by looking at http://www.misra.org.uk/forum/ and http://stackoverflow.com/questions/tagged/misra and also the coverage tables of the static checkers by various manufacturers also give a short sentence about each rule. Also Code Composer Studio allows selection of MISRA warnings and it gives a description of the warning when it finds one. It is free. (apparently) http://www.ti.com/tool/ccstudio  QuentinUK (talk) 23:32, 16 September 2015 (UTC)


 * Yes, a subset of many standards are available on the internet, and pirated copies of some standards are available for download too, but officially links to pirated content can't be linked in Wikipedia articles, nor in the talk section either. I agree the price of standards are too expensive, but I unfortunately neither of us set the price.  •  Sbmeirow  •  Talk  • 01:03, 17 September 2015 (UTC)


 * The standards I have linked to are complete. Apart from some discussions about MISRA, all of which are permitted especially the ones on MISRA's own website. All the links are legal and I have not linked to an illegal copy of MISRA on the internet. QuentinUK (talk) 01:10, 17 September 2015 (UTC)

More to the point of citing rule text, there is a licensing fee needed by a company in order to publicly cite the rule "titles" (eg Rule x.y: you will not do so-and-so) and a rather more hefty fee to print even more (the body of the rule.) How much of this can be accessed for fair use is subject to discussion. It seems that Red Lizards has a datasheet that may be a useful reference, but with the company having been acquired, no telling low long it will remain on the web. MISRA has a forum, and StackOverflow answers MISRA questions, so these might also serve as resources for citation or example. 38.99.16.109 (talk) 22:03, 19 December 2016 (UTC)

Account of change
Changed "Mike Hennell" reference to "Michael Hennell" to match Wikipedia entry. --Nat Hillary 19:34, 30 December 2009 (UTC) —Preceding unsigned comment added by Nat hillary (talk • contribs)

Poor References
This article has poor references. Some of the referenced links are dead (needs cleanup) or they go to directly to a software tool vendor's product page. More clean up is needed. Added the Primary Sources tag. Jabraham mw (talk) 16:06, 6 January 2011 (UTC)

Comparison with Other Standards
I don't want to get into a Undo/Redo battle with User:sbmeirow who has removed my links to other standards bodies, but his edit leaves As with many standards at risk of gaining a citation required tag! Andrew D Banks (talk) 09:38, 17 June 2016 (UTC)


 * I changed the text so it no longer needs it. Not everything must have a reference, like you don't need a reference for "the sky is blue".  Still, it is common knowledge to anyone that had tried to download a standard will quickly find out that a majority aren't free.  •  Sbmeirow  •  Talk  • 08:23, 18 June 2016 (UTC)

Tools
Coverity/Synopsys acquired Red Lizard Software, so the tool Goanna should either be combined with Coverity, or removed, as appropriate.