I'm able to reproduce the error trying to build version 24.4+1-4.1 using gcc5. However, the latest package version from sid is 24.5+1-1 which builds just fine with gcc5.
Rebasing to upstream version 24.5 fixed the issue. Specifically this commit: http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-24&id=ff3878d749591ebf78da532ec1eb6fa00cb5757d -- Juerg Haefliger Hewlett-Packard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org