This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]