The solution for error: jump to label [-fpermissive] encountered in C Reason: After goto, a newly defined variable appears. Just define it in advance.