You should be able to inline suppress with C comments. But not in macros as far as I know.
so you have some memleak when a macro is used and you want to suppress it.. could you show some rough code example? can we somehow let you write such code.
we often do not write warnings when we see certain strange stuff in macros because the macros are often written in certain ways by intention and there will not be a real problem..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
is it possible to use the inline suppress with C comment syntax like
/* cppcheck-suppress memleak */
?c++ comments can not be used in macros even they are multiline.
Generally we avoid macros but there are some rare cases for which this feature would be great.
You should be able to inline suppress with C comments. But not in macros as far as I know.
so you have some memleak when a macro is used and you want to suppress it.. could you show some rough code example? can we somehow let you write such code.
we often do not write warnings when we see certain strange stuff in macros because the macros are often written in certain ways by intention and there will not be a real problem..
I am very sorry. I think I must take a look at the problem again. May be there is no real problem.