[splint-discuss] parse error
Michael Wojcik
Michael.Wojcik at MicroFocus.com
Tue Apr 10 05:54:44 PDT 2007
> From: splint-discuss-bounces at cs.virginia.edu [mailto:splint-discuss-bounces at cs.virginia.edu] On Behalf Of Ibéria Medeiros
> Sent: Monday, 09 April, 2007 20:52
> if i understand, in first place i have to compile the program with > C89 specifications (-ansi -pedantic) and after use the splint
No, you have to write your program to the C89 specification (ISO 9899:1989). Splint doesn't care how you compile it.
The "-ansi" and "-pedantic" options for GCC will tell you if your program uses certain constructs that are not allowed in C89. You may find them useful, if you're writing C, using splint, and compiling with GCC. But they have no effect on splint itself.
--
Michael Wojcik
Principal Software Systems Developer, Micro Focus
More information about the splint-discuss
mailing list