prusa3d / Prusa-Firmware-MMU

Other
32 stars 15 forks source link

catch2: Fix build with gcc13 #284

Closed wavexx closed 1 year ago

wavexx commented 1 year ago

Cherrypick of catch2 commit 52066dbc2a53f4c3ab2a418d03f93200a8245451 to fix the build with gcc 13 without a full update just before release.

gudnimg commented 1 year ago

Looks good to me, I'll approve after I test my own setup which still uses GCC 12.2.0. Just as a sanity check, I expect it to work fine.

gudnimg commented 1 year ago

@wavexx should we consider adding this change to the 8-bit as well? It may seem pointless but I'd like to add unit tests for the recent bug @DRracer fixed for 3.13.0 (wrong printer warnings or incompatible gcode)

wavexx commented 1 year ago

I think so. I just tried and the tests similarly fail to build for me. I'll prepare a commit.