tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: g++ -pedantic on 6.0.1/amd64 fails to include xmmintrin.h



On Sat, Mar 09, 2013 at 08:54:48PM +0100, Martin Husemann wrote:
> On Sat, Mar 09, 2013 at 08:33:57PM +0100, Martin Husemann wrote:
> > Since our <stdlib.h> properly declares posix_memalign, this block should
> > just go away. But I don't know how to best arrange for that in an upgrade/
> > import friendly way.
> 
> Scratch that - we should indeed mark most of our standard library functions
> as "nothrow" similar to the visibility and extern C stuff in cdef.h, and
> then explicitly exclude functions taking a function pointer.

I disagree on this. Adding throw() in many cases costs more than it
provides and I am not talking about the header pollution here.

Joerg


Home | Main Index | Thread Index | Old Index