This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Include stdlib.h in testsuite/include/check.h
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: newlib at sources dot redhat dot com
- Date: Thu, 27 Jan 2005 05:34:06 +0100
- Subject: Include stdlib.h in testsuite/include/check.h
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