fail0verflow / shofel2

Tegra X1 bootrom exploit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Macro expands to multiple statements error

OfficiallyMelon opened this issue · comments

commented

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?