[Bug libstdc++/79190] [7 Regression] ld: (Warning) Unsatisfied symbol "aligned_alloc"
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 22 20:36:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79190
--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> ---
Looks as if the problem is here:
#else
// The C library doesn't provide any aligned allocation functions, declare
// aligned_alloc and get a link failure if aligned new is used.
extern "C" void *aligned_alloc(std::size_t, std::size_t);
#endif
Possibly, a better solution might be to provide an implementation that aborts.
More information about the Gcc-bugs
mailing list