I got the following error message for the following code sample:
sample.c:12:24: error: Syntax Error: AST broken, 'tmp' doesn't have a parent. [internalAstError]
In the code sample below, it seems that calling typeof on a variable is passing, but calling typeof on a structure member causes an error message.
Hi.
I got the following error message for the following code sample:
sample.c:12:24: error: Syntax Error: AST broken, 'tmp' doesn't have a parent. [internalAstError]
In the code sample below, it seems that calling typeof on a variable is passing, but calling typeof on a structure member causes an error message.
I think this is covered by https://trac.cppcheck.net/ticket/10739
Thanks for the fast response
:)
I took the master of cppcheck and i still see this failure.
Is this expected?
Last edit: Dotan Barak 2022-04-28
I would say so, since the ticket is still open.
ok, thanks