Use return value of tcc_compile_string() to determine errors and
warnings.
Suggested by @run4flat.