newer versions of gcc do not more interpret __FUNCTION__ (and use that as a normal identifier) adding a little patch to libggz that address this issue
Created attachment 76949 [details, diff] patch file for libggz-0.0.5
Created attachment 76950 [details] libggz-0.0.5-r1.ebuild
Fixed in CVS... thanks for the patch!