I found the ticket is already there for this issue - https://trac.cppcheck.net/ticket/10223.
But I'm unable to understand the current status of this ticket. Is it in progress or closed?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a volatile variable that I'm calculating difference count with some delay. But with cppcheck v2.4.1 I'm seeing an error.
Please find the attachment for error information. In the attachment TPR is of type __IO (defined to volatile).
Is this false error, if so where can I create bug?
Last edit: Krishna 2021-07-15
I agree it's a false positive.
Can you provide a bit better example code. I don't see a false positive for this:
Hi Daniel,
Thanks for a quick reply.
I found the ticket is already there for this issue - https://trac.cppcheck.net/ticket/10223.
But I'm unable to understand the current status of this ticket. Is it in progress or closed?
Thanks.
it is open. nobody is currently working on it.
if you want to investigate the problem then feel free to do it.