I'm new to splint use. I'm having problems using it with programs that include windows.h or process.h
is there any option I missing or any thing I am missing? I'm using this command line:
Code:
splint -Ic:\codeblocks\MinGW\include -Ic:\CodeBlocks\MinGW\lib\gcc\mingw32\3.4.5\include z:\tmp_keops\*.c
this is the output:
Code:
Splint 3.0.1.6 --- 11 Feb 2002
In file included from c:\codeblocks\MinGW\include\windef.h(253),
from c:\codeblocks\MinGW\include\windows.h(48),
from z:\tmp_keops\defs.h(12),
from z:\tmp_keops\protos.h(10),
from z:\tmp_keops\bench.c(11)
c:\codeblocks\MinGW\include\winnt.h(2352,34): #error "undefined processor type"
In file included from z:\tmp_keops\bench.c(12)
z:\tmp_keops\debug.h(19,21): invalid character in macro parameter name
z:\tmp_keops\debug.h(19,21): Parameter list for #define is not parseable
z:\tmp_keops\debug.h(48,29): invalid character in macro parameter name
z:\tmp_keops\debug.h(48,29): Parameter list for #define is not parseable
Preprocessing error for file: z:\tmp_keops\bench.c
*** Cannot continue.
any helo will be wellcome.
thx