This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix build problem with eCos/newlib (PR 78110)


On 26/10/16 16:26 +0000, Bernd Edlinger wrote:
	* libsupc++/new_opa.cc: Don't include <malloc.h> in a free standing
	environmnet.  Declare memalign directly in that case.

Typo "environmnet".

OK for trunk, thanks.

We might actually want to avoid <malloc.h> in other cases, as some
systems have a #warning in <malloc.h> saying it's deprecated ...
although they probably have aligned_alloc or posix_memalign anyway so
we won't try to use memalign.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]