Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to compile with latest cl65 #124

Open
maxgerhardt opened this issue Nov 10, 2022 · 0 comments
Open

Fails to compile with latest cl65 #124

maxgerhardt opened this issue Nov 10, 2022 · 0 comments

Comments

@maxgerhardt
Copy link
Contributor

make[1]: Entering directory '/home/max/x16-demo/cc65-audio'
python3 ../tools/bin2c.py vgmData test.vgm vgm.inc
cl65 -t cx16 -O -o audio.prg main.c
main.c:39: Error: Macro redefinition is not identical
main.c:65: Error: No field named 'reg' found in 'volatile struct YM2151_t'
main.c:65: Error: Assignment to rvalue
main.c:66: Error: No field named 'data' found in 'volatile struct YM2151_t'
main.c:66: Error: Assignment to rvalue
main.c:102: Warning: Pointer conversion to 'char *' from 'unsigned char * const' changes pointee signedness
5 errors and 1 warnings generated.
make[1]: *** [Makefile:4: audio.prg] Error 1
make[1]: Leaving directory '/home/max/x16-demo/cc65-audio'
make: *** [Makefile:22: cc65-audio] Error 2

With

$ cl65 --version
cl65 V2.19 - Git a09053ce0

Which is the latest from the git (cc65/cc65@a09053c)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant