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

Macro expands to multiple statements error #28

Open
OfficiallyMelon opened this issue Mar 19, 2022 · 0 comments
Open

Macro expands to multiple statements error #28

OfficiallyMelon opened this issue Mar 19, 2022 · 0 comments

Comments

@OfficiallyMelon
Copy link

root1@DESKTOP-GRME42H:~/coreboot$ sudo make [sudo] password for root1: Skipping submodule '3rdparty/blobs' CC romstage/lib/lzmadecode.o src/lib/lzmadecode.c: In function 'LzmaDecode': src/lib/lzmadecode.c:77:2: error: macro expands to multiple statements [-Werror=multistatement-macros] 77 | Range -= bound; \ | ^~~~~ src/lib/lzmadecode.c:300:7: note: in expansion of macro 'UpdateBit1' 300 | UpdateBit1(prob); | ^~~~~~~~~~ src/lib/lzmadecode.c:299:8: note: some parts of macro expansion are not guarded by this 'else' clause 299 | } else | ^~~~ cc1: all warnings being treated as errors make: *** [Makefile:338: build/romstage/lib/lzmadecode.o] Error 1

Any Fix?

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