cc65 / cc65

cc65 - a freeware C compiler for 6502 based systems

Home Page:https://cc65.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[cc65] Parameters of function types not parsed correctly

acqn opened this issue · comments

commented
void f(int (int));   /* Should be OK: void f(int (*)(int)) but cc65 fails */

typedef int A;
void g(int (*)(A));  /* Correct: void g(int (*)(int)) */
void g(int (A));     /* Wrong:   void g(int A), should be of the same type as above */