Skip to content

Begin work on CSFML v3#225

Merged
eXpl0it3r merged 19 commits intomasterfrom
v3
Feb 19, 2024
Merged

Begin work on CSFML v3#225
eXpl0it3r merged 19 commits intomasterfrom
v3

Conversation

@ChrisThrasher
Copy link
Copy Markdown
Member

With 2.6.0 now released we're ready to start working towards v3! With SFML 3 not even finalized it will take a while to get there but luckily there are some easy places to start. This branch includes a mixture of breakages that could not happen in the v2 release series and modernizations that require newer language standards than what v2 uses.

To match SFML this PR upgrades us to CMake 3.22 and C++17. I also upgraded the C requirement to C11. I'm most happy with how requiring C99 now gives us access to basic quality of life features like fixed-width integers and boolean literals. CSFML is being brought into the 21st century 😊

I'm no expert in C standards but from what I've heard C17 is basically identical to C11. It probably wouldn't hurt to eventually raise the C requirement to C17 but for now I picked C11 to ensure we have access to newer features that may prove useful.

Copy link
Copy Markdown
Member

@eXpl0it3r eXpl0it3r left a comment

Choose a reason for hiding this comment

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

Just some bike shedding.

If the var == true aren't needed anymore, I'd want to see them removed.

Other than that, I think it can be merged. I've already created a 2.6.x branch 🙂

@ChrisThrasher
Copy link
Copy Markdown
Member Author

Good feedback. I think I've addressed all your comments.

@ChrisThrasher
Copy link
Copy Markdown
Member Author

I found some more modernizations/simplifications to make and am done with that effort now. This PR is ready for review again. Better merge it soon before I find more things to change :)

Copy link
Copy Markdown
Contributor

@kimci86 kimci86 left a comment

Choose a reason for hiding this comment

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

Nothing else to complain about when skimming through 👍

@eXpl0it3r eXpl0it3r merged commit 2493f13 into master Feb 19, 2024
@ChrisThrasher ChrisThrasher deleted the v3 branch February 19, 2024 22:30
@eXpl0it3r eXpl0it3r added this to the 3.0 milestone Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants