You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compilation failure detected by end customer - no details on which OS or compiler were used, but the obvious fix to explicitly drop the return code should be made, and maybe check whether we do need any error handling there?
Error message: cc -Werror -Wall -Wundef -Wstrict-prototypes -Wpointer-arith -Wnested-externs -Wno-address-of-packed-member -O2 -DNDEBUG -g -fPIC -DSC_VER='"1.7.0.unknown"' -Iinclude -c core/sc_thread.c -o core/sc_thread.o core/sc_thread.c: In function 'sc_thread_state_request': core/sc_thread.c:256:9: error: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Werror=unused-result] 256 | read(t->wakeup_eventfd, &v, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:277: core/sc_thread.o] Error 1
The text was updated successfully, but these errors were encountered:
Compilation failure detected by end customer - no details on which OS or compiler were used, but the obvious fix to explicitly drop the return code should be made, and maybe check whether we do need any error handling there?
Error message:
cc -Werror -Wall -Wundef -Wstrict-prototypes -Wpointer-arith -Wnested-externs -Wno-address-of-packed-member -O2 -DNDEBUG -g -fPIC -DSC_VER='"1.7.0.unknown"' -Iinclude -c core/sc_thread.c -o core/sc_thread.o core/sc_thread.c: In function 'sc_thread_state_request': core/sc_thread.c:256:9: error: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Werror=unused-result] 256 | read(t->wakeup_eventfd, &v, 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make: *** [Makefile:277: core/sc_thread.o] Error 1
The text was updated successfully, but these errors were encountered: