For your temp use a VECTOR (if you wnat to use it global)
VECTOR* name;
Is just a declaration of a pointer without memory(NULL at the beginning, causes random read/write into memory).
And for your skill use:
#define move_x skill2
that should work(if not, post more code pls)
And Lite-c is a better choice than wdl, it has more possibilities

Greets
Rackscha