Help Center> CodeArts Check> FAQs> Using CodeArts Check> Cppcheck Cannot Tokenize the Code Correctly
Updated on 2023-11-30 GMT+08:00

Cppcheck Cannot Tokenize the Code Correctly

Symptom

Cppcheck cannot tokenize the code correctly is displayed during code check.

Cause Analysis

It is a rule of Cppcheck. The code contains syntax errors, which are caused by C code written using Java syntax.

Solution

The code must be written according to coding specifications of the C language and cannot contain the coding rules of other languages.

Using CodeArts Check FAQs

more