ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


gdcc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gdcc [2017/07/09 14:10] korshungdcc [2017/07/14 16:18] (current) korshun
Line 1: Line 1:
 +{{tag>acs_compilers}}
 ====== 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.
Line 14: Line 15:
  
 <code> <code>
-function int f()+function int f(void)
 { {
     DoSomething();     DoSomething();
Line 27: Line 28:
  
 <code> <code>
-function void f()+function void f(void)
 { {
     int x = g(1, 2, 3);     int x = g(1, 2, 3);
Line 33: Line 34:
 } }
  
-function void g()+function void g(void)
 { {
     // This function does NOT return a value     // This function does NOT return a value
Line 45: Line 46:
  
 Some fatal compiler errors do not result in an error message, but in a compiled ACS file that is 0 bytes long. 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 ====
 +
 +''Bad gen Retn'' means that the name of the function is already used elsewhere.
 +
  
gdcc.txt · Last modified: 2017/07/14 16:18 by korshun