[Klone-users] fatal source errors ignored?
thomas fossati
tho at koanlogic.com
Sat Aug 4 12:33:49 EDT 2007
Hi Mark,
On Aug 4, 2007, at 5:40 PM, Mark Richards wrote:
> Being a lazy programmer I tend to rely on the compiler to point out my
> various blunders. Here's a common one:
>
> snprintf(cSql,1024,"/runtime/exec/getdata.sh %i comms.OK
> /var/tmp/download inbox/");
>
> Note: no parameter.
>
> This should fail but under Klone it doesn't. I have included the full
> listing of the make install run below.
>
> Took me a while to find my own error. :)
add '--enable_warns' to KLONE_CONF_ARGS variable in the top level
Makefile. Then 'make clean' and 'make' again. That should give you
the "too few arguments for format" warning you'd expect.
ciao, t
More information about the klone-users
mailing list