MISRA.TOKEN.CPCOMC++ style comments. MISRA-C Rule 2.2 (required): Source code shall only use /* "¦ */ style comments.This excludes the use of // C99 style comments and C++ style comments, since these are not permitted in C90. Many compilers support the // style of comments as an extension to C90. The use of // in preprocessor directives (e.g. #define) can vary. Also the mixing of /* "¦ */ and // is not consistent. This is more than a style issue, since different (pre C99) compilers may behave differently. |