only check id via JSON server call when id has at least 6 characters
added wextra/werror to c/c++ makefiles where missing