-
```
int g(int x) {
static const void *const labels[] = {&&L0, &&L1};
goto *labels[x];
L0: if (labels[0] != labels[1]) return 31; else return 13;
L1: return 41;
}
```
Results …
-
Has anyone followed Dominic's attempt on the BBC?
https://github.com/dominicbeesley/cc65
How hard would it be to merge it? I see 691 commits.
It refers to branch 2.13.
@polluks Is this the B…
-
-
I am unsure how to compile the .c files in the 6502 projects ROM folder im not sure what to use crygwin? cc65? and what commands do I type into these to compile the .C file into an .out file ive been …
-
Many fatals. Two primary causes
- treating the difference of two pointers as an int `12>C:\work\forks\cc65\src\ca65\instr.c(1892,32): warning C4244: 'return': conversion from '__int64' to 'int', poss…
pm100 updated
11 months ago
-
The following is not flagged as an error by cc65:
```c
void f2();
void f2(char a);
```
See ISO/IEC 9899:1999 (E) 6.7.5.3p15 for reasoning.
-
It would be nice if cc65 could pass/return structs larger than 4 bytes by value.
This was a working feature in past releases of the compiler (as late as 2.19), however it was never documented. The …
-
Hi
I want to compile and test this for C64 but getting compile issues. Do you know a solution?
I have cc65 installed on Windows.
```
>make PLATFORM=C64
cc65 -I ./ -g -DP_C64=1 -DP_UNIX=2 -…
-
It would be interesting as there are already default settings to be used, a build cmake toolchain for cc65, as well as a project of the same purpose already has
makes it easier for larger projects…
-
not sure if this is a bug... at least it seems a bit odd
```
typedef unsigned long u32;
static u32 addr;
int main(void)
{
addr = (32*1024*1024) - 1;
while (addr < (32*1024*1024)) { …