This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/69680] stdlib.h does not declare aligned_alloc
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Feb 2016 23:24:46 +0000
- Subject: [Bug c/69680] stdlib.h does not declare aligned_alloc
- Auto-submitted: auto-generated
- References: <bug-69680-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69680
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jeff Hammond from comment #0)
> It seems that none of the GCC 5.3.0 headers declare this function...
Because GCC doesn't provide a C library, it uses the one from your OS.
Presumably it doesn't support C11, or at least not aligned_alloc.