devos50 / qemu-ios

A QEMU emulator for legacy Apple devices
Other
978 stars 63 forks source link

ipod_touch_i2c.c has unused variable & errored out during compiler stage. #80

Closed egberts closed 7 months ago

egberts commented 12 months ago

Attempted latest master on newest Debian 12:

../hw/i2c/ipod_touch_i2c.c: In function ‘s5l8900_i2c_update’:
../hw/i2c/ipod_touch_i2c.c:27:14: error: variable ‘level’ set but not used [-Werror=unused-but-set-variable]

All attempts to slip in '-fPIE -Wunused-but-set-variable' into the Ninja has failed:

../configure --enable-sdl --disable-cocoa --target-list=arm-softmmu \
    --disable-capstone \
    -fPIE -Wunused-but-set-variable \
     --disable-slirp \
    --extra-cflags='-Wunused-but-set-variable -I/usr/local/opt/openssl@3/include'  \
    --extra-ldflags='-fPIE -L/usr/local/opt/openssl@3/lib -lcrypto'
jeppojeps commented 12 months ago

@egberts see issue #79

devos50 commented 10 months ago

@egberts were you able to figure this out?