The WEXITSTATUS(system(chCmdline)) on my system expands to:

(((((((union{__typeof__(system(chCmdline))__in;int __i;}){.__in=(system(chCmdline))}).__i)))&0xff00)>>8)

Which seem to cause this parsing error:

E,FileName.c,73,60,core,E0008,ERR,X99,Syntax error is found in token `) {'.

I have tried to remove the WEXITSTATUS() with the extension_substitutions but that had no effect: the resulting .i file still had the same construct and AdLint still fails with the same error.

Any ideas?

P.S. AdLint 3.2.14 installed using gem.

P.P.S. The line numbers for errors in the .msg.csv also seem to be wrong most of the time. In the error message above, the line "73" doesn't match neither .c nor .i files. Is that a known problem?