okay,<br>if i understand, in first place i have to compile the program with C89 specifications (-ansi -pedantic) and after use the splint<br><br>thanks,<br><br><div><span class="gmail_quote">On 4/10/07, <b class="gmail_sendername">
Travis Snoozy</b> &lt;<a href="mailto:ai2097@users.sourceforge.net">ai2097@users.sourceforge.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 9 Apr 2007 22:49:09 +0000, &quot;Ibéria Medeiros&quot; &lt;<a href="mailto:ibemed@gmail.com">ibemed@gmail.com</a>&gt;<br>wrote:<br><br>&lt;snip&gt;<br>&gt; the splint return a parse error.... i supose, maybe, because the
<br>&gt; declaration of _b_ is after a instruction (a = c). Because, if i<br>&gt; declare _b_ before that instruction, splint dont give me any parse<br>&gt; error. Why splint dont work with&nbsp;&nbsp;declarations of variables in any
<br>&gt; part of the program?? Exist any flag in splint to acept that??<br>&lt;snip&gt;<br><br>In ANSI C (C89), variable declarations must come first in your code. If<br>you are using GCC, you can use the -ansi -pedantic set of
<br>switches to flag this behavior. At present, splint works only with C89,<br>not C99.<br><br>--<br>Travis<br><br>_______________________________________________<br>splint-discuss mailing list<br><a href="mailto:splint-discuss@ares.cs.Virginia.EDU">
splint-discuss@ares.cs.Virginia.EDU</a><br><a href="http://www.cs.Virginia.EDU/mailman-2.1.5/listinfo/splint-discuss">http://www.cs.Virginia.EDU/mailman-2.1.5/listinfo/splint-discuss</a><br></blockquote></div><br><br clear="all">
<br>-- <br>Ibéria Medeiros