13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9−20PCP Reference Manual19.13 (A) The # and ## preprocessor operators should not be used.19.14 (R) The defined preprocessor operator shall only be used inone of the two standard forms.19.15 (R) Precautions shall be taken in order to prevent the contentsof a header file being included twice.19.16 (R) Preprocessing directives shall be syntactically meaningfuleven when excluded by the preprocessor.19.17 (R) All #else, #elif and #endif preprocessor directives shallreside in the same file as the #if or #ifdef directive towhich they are related.Standard librariesMISRA−C20.1 (R) Reserved identifiers, macros and functions in the standardlibrary, shall not be defined, redefined or undefined.20.2 (R) The names of standard library macros, objects and functionsshall not be reused.x 20.3 (R) The validity of values passed to library functions shall bechecked.20.4 (R) Dynamic heap memory allocation shall not be used.20.5 (R) The error indicator errno shall not be used.20.6 (R) The macro offsetof, in library , shall not beused.20.7 (R) The setjmp macro and the longjmp function shall not beused.20.8 (R) The signal handling facilities of shall not beused.20.9 (R) The input/output library shall not be used inproduction code.20.10 (R) The library functions atof, atoi and atol from library shall not be used.20.11 (R) The library functions abort, exit, getenv and systemfrom library shall not be used.20.12 (R) The time handling functions of library shall notbe used.

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

Saved successfully!

Ooh no, something went wrong!