User Activity

  • Modified a comment on discussion Development on cppcheck
  • Posted a comment on discussion Development on cppcheck

    Hello everyone, I have a problem when running cppcheck v2.6.3. Here is the file/snippet (bug.c) I'm trying to get the analysis on: // Your First C++ Program #include <iostream> int main() { bool unused_variable=false; if (false) ; std::cout << "Hello World!" << std::endl; return 0; } If I run in terminal (macOS Big Sur 11.6) : cppcheck --enable=all bug.c The result is: bug.c:8:9: error: Code 'std::cout' is invalid C code. Use --std or --language to configure the language. [syntaxError] std::cout...

View All

Personal Data

Username:
vacareanus
Joined:
2022-02-01 11:35:37.143000

Projects

  • No projects to display.

Personal Tools