-
Notifications
You must be signed in to change notification settings - Fork 84
Build failure with GCC 14 on Linux due to "-Werror" #302
Copy link
Copy link
Open
Description
When trying to build the current HEAD (9fd0577) on Debian Linux with GCC 14.2.0, it fails to build with the following errors due to -Werror:
ss.c: In function ‘StackHot’:
ss.c:38:13: error: storing the address of local variable ‘stackOut’ in ‘*stackOut’ [-Werror=dangling-pointer=]
38 | *stackOut = &stackOut;
| ~~~~~~~~~~^~~~~~~~~~~
ss.c:36:22: note: ‘stackOut’ declared here
36 | void StackHot(void **stackOut)
| ~~~~~~~^~~~~~~~
ss.c:36:22: note: ‘stackOut’ declared here
cc1: all warnings being treated as errors
gmake[4]: *** [comm.gmk:628: lii6gc/cool/ss.o] Error 1
Removing -Werror from configure.ac and code/lii6gc.gmk will let it build fine.
The full build log is attached.
mps-kit_1.118.0+git20241127.9fd0577-1_amd64-2025-02-10T10:25:49Z.build.gz
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels