DragonMinded / libdragon

Open source library for N64 development.
https://libdragon.dev
The Unlicense
674 stars 98 forks source link

toolchain: Update GCC to 14.1 #541

Closed sp1187 closed 2 months ago

sp1187 commented 2 months ago

Add -fpermissive to newlib CFLAGS since current upstream does not otherwise work with the stricter GCC 14 defaults.

gyrovorbis commented 2 months ago

Hey, guys, just a heads up... Is this something you should also be concerned with? You building the C++ standard library?

https://github.com/KallistiOS/KallistiOS/pull/554

sp1187 commented 2 months ago

From my testing I found that the TZ database is only linked into the actual ROM when you use the tzdb library directly, just using chrono::system_clock and similar was not enough. So it should be fine for now. As the default C++ version is 17 currently, the developer currently also needs to set the C++ version explicitly to C++20 in order to use tzdb.

gyrovorbis commented 2 months ago

Ah, yeah, good points!