macro JIT compiles; fix compiler warnings