Help Center/ CodeArts Check/ FAQs/ General Issues/ Why Am I Told that Cppcheck Cannot Tokenize the Code Correctly?
Updated on 2024-10-10 GMT+08:00

Why Am I Told that Cppcheck Cannot Tokenize the Code Correctly?

Symptom

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

Cause Analysis

The code contains syntax errors, which are caused by C code written using Java syntax.

Solution

Encode in compliance with C language specifications.