libdragon icon indicating copy to clipboard operation
libdragon copied to clipboard

toolchain: Update GCC to 14.1

Open sp1187 opened this issue 9 months ago • 3 comments

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

sp1187 avatar May 10 '24 23:05 sp1187

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

gyrovorbis avatar May 10 '24 23:05 gyrovorbis

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.

sp1187 avatar May 11 '24 14:05 sp1187

Ah, yeah, good points!

gyrovorbis avatar May 11 '24 17:05 gyrovorbis