compiling error but no syntax error