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

In article <>,
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 understand the motivation, but this dirties the header files because an
unfortunate language decision (why extern "C" requires an explicit "nothrow"
instead of defaulting to "nothrow" and requiring "throws" instead?). Isn't
there a better way?


Home | Main Index | Thread Index | Old Index