Hello @Hamnet
correct, to continue to use M5EPD you either need to revert to Arduino 1.8 IDE (which worked for you in the past). Or you can try to comment out the lines mentioned in GT911.cpp and use Arduino IDE 2.x. The latter I tried myself and worked for me.
Thanks
Felix