User Activity

  • Modified a comment on ticket #3232 on Small Device C Compiler (SDCC)

    The issue is still present. I can reproduce it with zsdcc (contained in Z88DK) by: (0) having python and GNU make installed (1) git clone https://github.com/Fabrizio-Caruso/CROSS-LIB (2) entering the src directory (3) running xl snake vz200_zsdcc or equivalently make zsdcc -f games/snake/Makefile.snake If I remove the line: level_bonus = (uint16_t) (((uint16_t) snake_length)<<1)+(((uint16_t) energy)<<3) +(((uint16_t) coin_count)<<5) + (((uint16_t) level)<<2); the problem disappears but I cannot isolate...

  • Posted a comment on ticket #3232 on Small Device C Compiler (SDCC)

    The issue is still present. I can reproduce it with zsdcc (contained in Z88DK) by: (0) having python and GNU make installed (1) git clone https://github.com/Fabrizio-Caruso/CROSS-LIB (2) entering the src directory (3) running xl snake vz200_zsdcc or equivalently make zsdcc -f games/snake/Makefile.snake If I remove the line: level_bonus = (uint16_t) (((uint16_t) snake_length)<<1)+(((uint16_t) energy)<<3) +(((uint16_t) coin_count)<<5) + (((uint16_t) level)<<2); the problem disappears but I cannot isolate...

  • Posted a comment on ticket #3232 on Small Device C Compiler (SDCC)

    What does "error 9" mean? I am still getting this error on multiple Z80 targets in Z88DK. I have spotted the single line that causes it but I don't know how to reproduce it because it problem won't show up with just that line.

  • Posted a comment on ticket #3232 on Small Device C Compiler (SDCC)

    What I know is that if I remove that line: https://github.com/Fabrizio-Caruso/CROSS-LIB/blob/master/src/games/snake/main.c#L932 I manage to compile my game with make vz200_zsdcc -f Makefile.snake I am not able to reproduce it with a smaller example but I know the single line that breaks it. The same source code works fine with 15 other cross-compilers and native compilers (e.g., GCC) including SCCZ80.

  • Posted a comment on ticket #3232 on Small Device C Compiler (SDCC)

    The line that breaks the compilation is: level_bonus = (uint16_t) (((uint16_t) snake_length)<<1)+(((uint16_t) energy)<<3) +(((uint16_t) coin_count)<<5) + (((uint16_t) level)<<2);

  • Posted a comment on ticket #3232 on Small Device C Compiler (SDCC)

    It seems to be the main function. I could try to reduce the main function and compile until I get something that can be compiled.

  • Created ticket #3232 on Small Device C Compiler (SDCC)

    FATAL Compiler Internal Error in file 'gen.c

  • Committed [25d6fc]

    Winding number

View All

Personal Data

Username:
fabriziocaruso
Joined:
2008-08-01 10:46:07

Projects

This is a list of open source software projects that FabrizioCaruso is associated with: