Skip to content
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

Small Warnings Refactor #4477

Merged
merged 5 commits into from
Oct 29, 2024
Merged

Conversation

Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Oct 25, 2024

Disables all warnings, even in release, on the src directory, as well as the entirety of LUS.
Resolves math macro duplication warnings.

Build Artifacts

Copy link
Contributor

@Archez Archez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good to me. I'm not the biggest fan of losing warnings in the game's src code because we have our own code in there too, but at least with VB we are reducing that over time.

It might be nice if we can set a cmake option to control this warning behavior so that it is easy to disable the override with a -D flag for those that want to spot check things.

CMakeLists.txt Outdated Show resolved Hide resolved
soh/CMakeLists.txt Show resolved Hide resolved
@Malkierian
Copy link
Contributor Author

I was actually thinking about a build flag myself. I'll set that up as I handle the feedback.

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
@Malkierian Malkierian merged commit 108d506 into HarbourMasters:develop Oct 29, 2024
5 checks passed
@Malkierian Malkierian deleted the warnings-changes branch October 29, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants