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

2016-10-26 Thread Jonathan Wakely
On 26/10/16 16:26 +, Bernd Edlinger wrote: * libsupc++/new_opa.cc: Don't include in a free standing environmnet. Declare memalign directly in that case. Typo "environmnet". OK for trunk, thanks. We might actually want to avoid in other cases, as some systems have a #war

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

2016-10-26 Thread Bernd Edlinger
Hi, this patch avoids including malloc.h in free standing builds with eCos/newlib, and declares the memalign directly. Successfully built a cross compiler for eCos. Is it OK for trunk? Thanks Bernd. 2016-10-26 Bernd Edlinger * libsupc++/new_opa.cc: Don't include in a free standing envir