-
-
Notifications
You must be signed in to change notification settings - Fork 492
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
Big number of compiler warnings #3029
Labels
Comments
I'm assuming you're compiling with gcc, right? I don't get those warnings on clang. Guess we need to unify the warning flags. |
Happens in Visual Studio too. |
@HybridDog Can you check out my changes from #3029, please? |
I use gcc version 14.1.1 20240720 (GCC). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SuperTux Version
5a50578
System Information
Arch Linux
Expected Behavior
When compiling SuperTux with -DWARNINGS=ON, there should be no warnings except those caused by myself if I change code.
The CI should fail at Pull Requests if a warning appears, which is documented at INSTALL.md. I think this is broken.
Actual Behavior
If I compile SuperTux with -DWARNINGS=ON, it shows a lot of warning messages. Most of them are related to simplesquirrel. If I change source code, I want to see warnings to figure out if I have made an accidental mistake. The unrelated warnings make it difficult to find the relevant ones.
Here's a small excerpt of the warnings:
Steps To Reproduce Actual Behavior
Compile SuperTux, e.g. with
Additional Information
No response
Guidelines For Reporting Issues
The text was updated successfully, but these errors were encountered: