This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| gdcc [2017/07/09 10:43] – korshun | gdcc [2017/07/14 13:18] (current) – korshun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| ====== GDCC ====== | ====== GDCC ====== | ||
| GDCC is an alternative ACS compiler, and also a standards-compliant compiler of the [[wp>C programming language]] to ACS VM bytecode. | GDCC is an alternative ACS compiler, and also a standards-compliant compiler of the [[wp>C programming language]] to ACS VM bytecode. | ||
| - | The ACS compiler is called **GDCC-ACC**. | + | The ACS compiler |
| * **ZDoom forums:** https:// | * **ZDoom forums:** https:// | ||
| Line 9: | Line 10: | ||
| ===== Known bugs ===== | ===== Known bugs ===== | ||
| - | ==== Missing " | + | ==== Missing " |
| + | |||
| + | <note warning> | ||
| < | < | ||
| - | function int f() | + | function int f(void) |
| { | { | ||
| DoSomething(); | DoSomething(); | ||
| Line 25: | Line 28: | ||
| < | < | ||
| - | function void f() | + | function void f(void) |
| { | { | ||
| int x = g(1, 2, 3); | int x = g(1, 2, 3); | ||
| Line 31: | Line 34: | ||
| } | } | ||
| - | function void g() | + | function void g(void) |
| { | { | ||
| // This function does NOT return a value | // This function does NOT return a value | ||
| Line 39: | Line 42: | ||
| If a function is used before it's declared, GDCC allows ANY call to the function, unlike [[ACC]] and [[BCC]]. | If a function is used before it's declared, GDCC allows ANY call to the function, unlike [[ACC]] and [[BCC]]. | ||
| + | |||
| + | ==== Compiler errors result in 0 bytes compiled ACS ==== | ||
| + | |||
| + | Some fatal compiler errors do not result in an error message, but in a compiled ACS file that is 0 bytes long. | ||
| + | |||
| + | ==== Incomprehensible compiler errors ==== | ||
| + | |||
| + | '' | ||