hey everyone, i'm trying compile simple code on rpi3 using geany. code written using code::blocks on windows , working without problem. errors i'm getting are: untitled.c:33:5: error: ‘for’ loop initial declarations allowed in c99 or c11 mode , untitled.c:33:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 compile code understand code not problem way i'm compiling it. can give me advice? you need add 1 of suggested options compile command configured in geany, in menu.. build -> set build commands add "-std=c99" after "gcc" in compile , build boxes. (i'm looking on mint pc expect version on pi same). petero raspberrypi
Comments
Post a Comment