-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
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
gcc-15 fixes - use void for sig_handler returns #3686
base: main
Are you sure you want to change the base?
Conversation
Interesting - note it looks like it was intended to autodetect this - Line 678 in f5821aa
|
Yes. I'll have a look why once I get all the parts cleanly compiling. I thought it was going to be a quick one liner... :-( |
If that auto-detection is obsolete by now, maybe we could remove it and thereby reduce the CMake execution time. |
fixes: ../mysys/stacktrace.c: In function 'default_handle_fatal_signal': ../mysys/stacktrace.c:53:3: error: 'return' with no value, in function returning non-void [-Wreturn-mismatch] 53 | return; | ^~~~~~ Signed-off-by: Rudi Heitbaum <[email protected]>
Signed-off-by: Rudi Heitbaum <[email protected]>
Signed-off-by: Rudi Heitbaum <[email protected]>
That article concurs with the changes I have made:
In that the handler is suppose to be I have updated the commit messages to reference sig_handler so as to be more correct. |
as @grooverdan wrote, we need to understand why the check isn't working before we decide to remove or ignore it.
the last line might look differently depending on your cmake version and your make tool |
Description
fixes compile issue with gcc-15
Release Notes
Fixes build with gcc-15 when combined with fixes from:
How can this PR be tested?
Testing can be performed using gcc-15 as a compiler
Basing the PR against the correct MariaDB version
main
branch.PR quality check