sdcc icon indicating copy to clipboard operation
sdcc copied to clipboard

Small Device C Compiler

Results 8 sdcc issues
Sort by recently updated
recently updated
newest added

`sdcc -mez80_z80 -O2 -c inet_aton.c` ``` inet_aton.c:134: error 9: FATAL Compiler Internal Error in file '../../../src/z80/gen.c' line number '8374' : Unimplemented Contact Author with source code inet_aton.c:134: error 9: FATAL...

Consider this code: ``` int x = 0xe+1; ``` Expected diagnostics: ``` invalid constant ``` Actual diagnostics: ``` ```

consult, How to issue the command sdcc pic14 to verify whether the location variable has been recycled? I don’t understand the difference in the assemble code.

``` make[5]: Entering directory '/home/zibri/sdcc/support/sdbinutils/binutils' CC arparse.o In file included from sysdep.h:23, from arparse.y:29: config.h:7:4: error: #error config.h must be #included before system headers 7 | # error config.h must...

for ``` void isr(void) __interrupt 7 { } ``` Some IDEs, like JetBrains Clion and Vscode, have code analyzers that are compatible with GCC. For editing code in these IDEs,...

Added a few definitions per STC89C52RC doc.

This code: ``` struct s { int x; int y[sizeof((struct s*)0)->x]; }; ``` is [accepted](https://godbolt.org/z/rvKbobnb4), which is questionable, because it is (seems to be) invalid code. Originates from https://stackoverflow.com/q/79550524/1778275.