Gentoo's Bugzilla –
Attachment 504152 Details for
Bug 637438kde-frameworks/khtml-5.40.0 with >=media-libs/giflib-5.1.2 : /usr/include/gif_lib.h:248:51: error: declaration of ‘void* reallocarray(void*, size_t, size_t)’ has a different exception specifier