flightaware/speedtables — Issue #23: Speedtables would not work on Linux
Author: ezx
Created: 2012-02-04 03:22:56+00:00
State: open

Hell, I have tried using speedtables several times over the years, could never get it to work on Linux.
I am currently on Linux 64bit using the latest 8.6 Tcl source. Speedtables goes through configure/make/make install routine just fine. 'package require speedtable" also works. But after trying to create the Animinfo package using example from SorceForge docs:

package require speedtable

speedtables Animinfo 1.1 {
table animation_characters {
varstring name indexed 1 unique 0
varstring home
varstring show indexed 1 unique 0
varstring dad
boolean alive default 1
varstring gender default male
int age
int coolness
}
}

I get the following error (and the package Animinfo is never created):

In file included from stobj/include/ctable.h:37:0,
from stobj/Animinfo/Animinfo-1.1.c:17:
stobj/include/shared.c: In function ‘parse_flags’:
stobj/include/shared.c:1402:11: warning: variable ‘word’ set but not used [-Wunused-but-set-variable]
stobj/Animinfo/Animinfo-1.1.c: In function ‘animation_characters_sanity_check_pointer’:
stobj/Animinfo/Animinfo-1.1.c:590:3: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat]

Hopefully this can be resolved.

Thanks