[cfe-dev] Implementation of stddef.h

Neil Booth neil at daikokuya.co.uk
Sun May 18 14:47:35 PDT 2008


Eli Friedman wrote:-

> Should I take the fact that there have been no comments as meaning the
> patch is bad, the patch is okay, or just that nobody with the
> appropriate expertise had the time to take a look at it?

My only concern would be that for 

	typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;

I don't think subtracting NULL pointers is well-defined.  That doesn't
matter as long as clang doesn't complain about it and does what you
expect though.

Neil.



More information about the cfe-dev mailing list