GDCC
GDCC copied to clipboard
Game Data Compiler Collection
As it says in the title, because of the case-forcing in `ACC`, macros defined by command line with uppercase letters are inaccessible. Barring a total rework of how case insensitivity...
This code: `int a[] = {};` Produces this error: `ERROR: SR::TypeError` It needs to produce a proper error, instead.
Current method of doing member access involves literally doing pointer casts to manipulate pointer arithmetic operations internally. It also generates inefficient code for member-member and first-member access. All of this...
Code which reads an object which could not have been initialized prior to being read should issue a warning. Such as: ```C int i = i; ``` ```C int i;...
Operations mixing fixed-point and integer types convert their operands to the promoted type before the operation. For addition and subtraction, this is fine, but multiplication and division with fract types...
Having an expression equivalent to the assembly statement would be useful where data can be passed to/from the stack in the inline assembly. Syntax would be something like: ``` asm-expression:...
Similar to C++'s `noexcept`, it would be useful to be able to mark functions are not generating/propagating long jumps so that callers can omit the post-call check. There should also...
Currently, multiword map register objects only export/import a single word, silently causing incorrect codegen.
Once fract ops are in, the Embedded C `%R`/`%r` fract formats should also be supported. Implementing the `strtofxr` functions would be part of this.
The time conversion functions, `mktime`, `gmtime`, and `localtime` need to be implemented, even if their use would probably be extremely limited.