Hello! In the list of cppcheck rules there is <error id="virtualCallInConstructor"
I've written a call to a virtual functions in several classes in my solution and run cppcheck o them, but it dind't show tis error. I used GUi and also run from command line with --enable=style and --enable=all
How can I make cppcheck to show this issue?
I'm using cppcheck 2.5
UPDATE: I've checked version 1.8 and it shows this error. It also found memory leak that 2.5 wasn't showing.. Is there some option I need to pass to 2.5 to show more errors?
Last edit: name 2021-07-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello! In the list of cppcheck rules there is <error id="virtualCallInConstructor"
I've written a call to a virtual functions in several classes in my solution and run cppcheck o them, but it dind't show tis error. I used GUi and also run from command line with --enable=style and --enable=all
How can I make cppcheck to show this issue?
I'm using cppcheck 2.5
UPDATE: I've checked version 1.8 and it shows this error. It also found memory leak that 2.5 wasn't showing.. Is there some option I need to pass to 2.5 to show more errors?
Last edit: name 2021-07-07