Hi,
I just found a fix to build snap with the recent gcc-8 release. You can find several patches for snap that enable building it with more recent development tools here:
https://salsa.debian.org/med-team/snap/tree/master/debian/patches
Please feel free to take over the changes completely or in partial at your preference. If you have any questions I'm happy to answer.
Kind regards, Andreas.