Conversation
|
This one is huge and oh boy I waited for PR like this. Just make sure we don't drop C++14 yet until we resolve the XBOX SDK situation. Consider collaborating with @ModMaker101 of #630 ? |
|
I see that you mechanically replaced all |
|
This PR scope seems smaller, so it's rather vice versa. Yours is fundamentally larger. |
|
Well, I really don't want to resolve all those conflicts... |
|
I'll fix the grammar requirements when I'm back at my pc later for the types to uint8_t is requirements I had just use ctrl+h so that's my bad I apologise |
I wouldn't mind collaboration especially if it makes things easier |
|
There's not much I would need collaboration with right this second as most of it is small repetitive work that I have tooling that does it for me. |
My thought is helping with things such as modernising the particle engine such as how it uses new to spawn them and likely iterates through vectors of raw Particle* to delete them we can replace with std::unique_ptr to guarantee no accidental memory leaks and using std::erase_if which i believe should provide a massive vector optimization compared to the manual loop erasures or like std::string_view with tolower to have zero allocation overhead |
…lly to avoid accidental grammar issues
|
Someone send me a simpler fix so sorry,I'm closing this one |
|
we can do a simpler fix by defining what byte should be and disabling strict chars but doing that isnt safe memory wise |
Description
This PR modernizes the codebase to support the C++23 standard, ensuring that the project can be compiled with modern toolchains while maintaining compatibility with legacy libraries and build environments.
Changes
Previous Behavior
Compiling with C++23 resulted in several fatal errors:
Root Cause
C++17 and C++20 standards removed several legacy features and introduced new keywords. Modern compilers strictly enforce the const-correctness of string literals (treating them strictly as const char[]) to prevent undefined behavior from attempting to modify read-only memory.
New Behavior
Fix Implementation
AI Use Disclosure
No AI was used to write the code in this PR. All changes were manually implemented based on technical documentation regarding C++ standard deprecations and MSVC linker behavior.
Related Issues
N/A
Images showing random still works fine:

