Index: ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/ChangeLog,v retrieving revision 1.36 diff -u -r1.36 ChangeLog --- ChangeLog 30 Jul 2005 11:42:54 -0000 1.36 +++ ChangeLog 3 Aug 2005 20:44:58 -0000 @@ -1,3 +1,8 @@ +2005-07-30 Andrew Lunn + + * tests/heaptest.c (test_pat): Casts to prevent compiler warnings. + * tests/testaux.hxx: new cannot be both global and static. + 2005-07-22 Andrew Lunn * cdl/memalloc.cdl: Use the CXXFLAGS for the native compiler to Index: tests/heaptest.c =================================================================== RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/tests/heaptest.c,v retrieving revision 1.6 diff -u -r1.6 heaptest.c --- tests/heaptest.c 27 Mar 2005 17:21:24 -0000 1.6 +++ tests/heaptest.c 3 Aug 2005 20:44:58 -0000 @@ -96,7 +96,7 @@ int errors=0; unsigned char bpat = pat & 0xFF; - endptra = (int *)((unsigned long)endptr & ~(sizeof(int)-1)); + endptra = (unsigned int *)((unsigned long)endptr & ~(sizeof(int)-1)); // Set to the pattern while (!INTALIGNED(bufptr)) { @@ -195,7 +195,7 @@ for (;;) { struct mallinfo info; - char *buf; + unsigned char *buf; info = mallinfo(); Index: tests/testaux.hxx =================================================================== RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/tests/testaux.hxx,v retrieving revision 1.6 diff -u -r1.6 testaux.hxx --- tests/testaux.hxx 23 May 2002 23:08:46 -0000 1.6 +++ tests/testaux.hxx 3 Aug 2005 20:44:58 -0000 @@ -55,7 +55,7 @@ //####DESCRIPTIONEND#### -static inline void *operator new(size_t size, void *ptr) { return ptr; }; +inline void *operator new(size_t size, void *ptr) { return ptr; }; #include