0 Members and 1 Guest are viewing this topic.
yvel=randMinMax(-256, 256);
yvel=rand()%513-256;
it seems there is a conflict between libRGB rand and yagorto one
yvel+=rmov;
In file included from main.c:4:0:/home/philip/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/string.h: At top level:/home/philip/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/string.h:35:9: error: conflicting types for ‘strlen’/home/philip/Downloads/ndless-r557/sdk/bin/../include/os.h:243:1: note: previous definition of ‘strlen’ was here
Here's another potential bug (or maybe it's just me?)When building my program in Ndless r557, the console gives me these errors:Code: [Select]In file included from main.c:4:0:/home/philip/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/string.h: At top level:/home/philip/lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/string.h:35:9: error: conflicting types for ‘strlen’/home/philip/Downloads/ndless-r557/sdk/bin/../include/os.h:243:1: note: previous definition of ‘strlen’ was hereI find that "strlen" was defined in line 47 of syscalls.h. Is there a conflict between this and something already defined in gcc?
Could Ndless possibly still be having problems with global variables?