When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.
cppcheck --versionCppcheck 1.57cppcheck --verbose --all --style --xml --file-list=CppCheckInput.txt cppcheck: error: unrecognized command line option: "--all".Failed to parse cppcheck XML file.Probably it's not produced correctly.
Is it a bug?
#include <iostream>using namespace std;int main(){ cout << "Hello world!"s22 << endl dsad() return 0;}
cppcheck --versionCppcheck 1.57Switching working directory to : /home/[username]/dev/test/cppcheck --verbose --enable=all --enable=style --xml --file-list=CppCheckInput.txtChecking main.cpp...Checking usage of global functions..<?xml version="1.0" encoding="UTF-8"?><results></results>
#include <iostream>using namespace std;int main(){ cout << "Hello world!" << endl int* x = new int; return 0;}
I was thinking that cppcheck will check for any syntax error too. Is it possible to get notifications about such errors like no semicolon on end of the line or undeclared property usage?
Eclipse (which is horrbily slow) can check for errors while typing