We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
libgcc/unwind-c.c:122:27: error: unused parameter ‘version’
Recent GCC commit Windows-on-ARM-Experiments/gcc-woarm64@71c7b44 added -Werror when building libgcc and it fails on this error:
-Werror
libgcc
/root/mingw-woarm64-build/code/gcc/libgcc/unwind-c.c: In function ‘__gcc_personality_imp’: /root/mingw-woarm64-build/code/gcc/libgcc/unwind-c.c:122:27: error: unused parameter ‘version’ [-Werror=unused-parameter] 122 | PERSONALITY_FUNCTION (int version, | ~~~~^~~~~~~ /root/mingw-woarm64-build/code/gcc/libgcc/unwind-c.c:123:38: error: unused parameter ‘actions’ [-Werror=unused-parameter] 123 | _Unwind_Action actions, | ~~~~~~~~~~~~~~~^~~~~~~ /root/mingw-woarm64-build/code/gcc/libgcc/unwind-c.c:125:49: error: unused parameter ‘ue_header’ [-Werror=unused-parameter] 125 | struct _Unwind_Exception *ue_header, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /root/mingw-woarm64-build/code/gcc/libgcc/unwind-c.c:126:47: error: unused parameter ‘context’ [-Werror=unused-parameter] 126 | struct _Unwind_Context *context) | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /root/mingw-woarm64-build/code/gcc/libgcc/unwind-c.c:46:1: error: ‘parse_lsda_header’ defined but not used [-Werror=unused-function] 46 | parse_lsda_header (struct _Unwind_Context *context, const unsigned char *p, | ^~~~~~~~~~~~~~~~~
The current workaround is to add -Wno-error=unused-parameter to libgcc/config/aarch64/t-aarch64.
-Wno-error=unused-parameter
libgcc/config/aarch64/t-aarch64
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Recent GCC commit Windows-on-ARM-Experiments/gcc-woarm64@71c7b44 added
-Werror
when buildinglibgcc
and it fails on this error:Issue
Workaround
The current workaround is to add
-Wno-error=unused-parameter
tolibgcc/config/aarch64/t-aarch64
.The text was updated successfully, but these errors were encountered: