http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58689
--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Eduardo Abinader from comment #5) > This new macro ATTRIBUTE_RETURNS_NONNULL should work ok for gcc 4.8.2? Yes. Probably you are picking up a wrong ansidecl.h, maybe because it came with old binutils and you are doing something strange. > ubuntu 14.04. Please report a bug to Ubuntu instead. And you will need to give them a lot more details so they can reproduce the issue...