DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
639 stars 172 forks source link

fix: more restrictive std::from_chars for floating point #1524

Closed EmosewaMC closed 5 months ago

EmosewaMC commented 5 months ago

given that fp is only on 2 compilers, it would make sense to only do the custom impl for not those two compilers.

Still compiles on my machine which has gcc-11 and does not error if I insert an error macro inside the if block. image