Include stdlib.h in testsuite/include/check.h
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Thu Jan 27 04:34:00 GMT 2005
Recent GCC in CVS complain about abort being implicitly
declared, causing the newlib.wctype tests (that use it) to
spuriously fail.
BTW, why are the UTF-8 tests run always, even for targets that
don't support it (thus failing)? Missing framework bits?
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
* testsuite/include/check.h: Include stdlib.h.
Index: check.h
===================================================================
RCS file: /cvs/src/src/newlib/testsuite/include/check.h,v
retrieving revision 1.3
diff -c -p -r1.3 check.h
*** check.h 25 May 2004 20:52:21 -0000 1.3
--- check.h 27 Jan 2005 04:29:33 -0000
***************
*** 1,4 ****
--- 1,5 ----
#include <stdio.h>
+ #include <stdlib.h>
#define CHECK(a) { \
if (!(a)) \
brgds, H-P
More information about the Newlib
mailing list