[patch] Avoid defining assert in reent.h
Paul Brook
paul@codesourcery.com
Fri Sep 22 17:14:00 GMT 2006
On _REENT_SMALL targets reent.h pollutes the user namespace by defining
assert(x). This causes a failure in the libstdc++ testsuite
(17_intro/no_assert_neg.cc).
The attached patch fixes this by defining and using __reent_assert.
Tested with cross to arm-none-eabi.
Ok?
Paul
2006-09-20 Paul Brook <paul@codesourcery.com>
newlib/
* libc/include/sys/reent.h: Define and use __reent_assert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-diff
Size: 874 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20060922/5cf7f770/attachment.bin>
More information about the Newlib
mailing list