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

Error on install #5

Open
BertLam opened this issue Jan 14, 2022 · 0 comments
Open

Error on install #5

BertLam opened this issue Jan 14, 2022 · 0 comments

Comments

@BertLam
Copy link

BertLam commented Jan 14, 2022

Hi/
When building with the command scons, I get an error:

scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o cpu.o -c -Wall -Werror cpu.c cpu.c:102:1: error: variably modified '__assertion' at file scope [-Werror] COMPILE_ASSERT(((u8 *)&Data.SP) - Data._Bytes == 0x5d); ^~~~~~~~~~~~~~ cpu.c:103:1: error: variably modified '__assertion' at file scope [-Werror] COMPILE_ASSERT(((u8 *)&Data.SREG) - Data._Bytes == 0x5f); ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors scons: *** [cpu.o] Error 1 scons: building terminated because of errors.

Searching for a solution to the problem in Google - did not give answers.

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