I CAN'T BELIEVE I'VE DONE THIS !!!

I must be so stupid that I've spent days wondering why.

Thank you so much Simon for your very advised look on my code.


I deeply apologize for polluting that forum with such a silly mistake.

Regards

Very well done Simon !!


On Feb 24, 9:54 am, Jean-Denis Muys <jdm...@kleegroup.com> wrote:
> On 2/24/10 9:36 , "Simon Davies" <simon.james.dav...@googlemail.com> wrote:
>
> > On 23 February 2010 17:44, newlog <newlog2...@yahoo.fr> wrote:
> >> OK,
>
> >> I really don't understand....
>
> > Rogue semicolon on line
>
> >>  if( sqlite3_close( db ) != SQLITE_OK );
>
> > Regards,
> > Simon
>
> I have been bitten by such silly mistakes often enough!
>
> This is why I have switched to a compiler with sanity checks. On this line
> of code, it warns:
>
> "if statement has empty body"
>
> This compiler is llvm. Check it out athttp://llvm.org
> You can test for this mistake on the demo page athttp://llvm.org/demo
>
> For example insert a spurious ; in this line in the proposed factorial demo
>
>   if (X == 0); return 1;
>
> Llvm is quite amazing for a number of reasons I won't go into here. Check it
> out.
>
> Jean-Denis
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-us...@sqlite.orghttp://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to