13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>C compiler option: --misracMenu entry1. Select C/C++ Compiler » MISRA-C.2. Make a selection from the MISRA-C checking list.3. If you selected Custom, expand the Custom 2004 or Custom 1998 entry and enable one or moreindividual rules.Command line syntax--misrac={all | nr[-nr]},...DescriptionWith this option you specify to the compiler which MISRA-C rules must be checked. With the option--misrac=all the compiler checks <strong>for</strong> all supported MISRA-C rules.Examplecarm --misrac=9-13 test.cThe compiler generates an error <strong>for</strong> each MISRA-C rule 9, 10, 11, 12 or 13 violation in file test.c.Related in<strong>for</strong>mationSection 4.7.2, C Code Checking: MISRA-CC compiler option --misrac-advisory-warningsC compiler option --misrac-required-warningsLinker option --misrac-report334

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!