Splint with c++ code?


I'm new to splint and am trying to build some autocheck for our code.
Older splint output shall be compared with output after a fix to prevent new warnings being built in.

For most of the files I'm able to do that but a line I can't get around for example is

extern "C" void usr_INIT(){}

I learned that it's possible to use -Dnonstandardkeyword=, so in this case -Dextern= 'cuts' out the extern.

For the rest of the line a parse error is generated.
-Dextern "C"=
-Dextern "C"=
-D"extern "C""=

All don't work (expectable but at least I tried :)

Is it possible to mask that out at all?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!