* support/regression/tests/bug1057979.c, support/regression/tests/malloc.c,
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 26 May 2007 09:43:07 +0000 (09:43 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 26 May 2007 09:43:07 +0000 (09:43 +0000)
  support/regression/fwk/include/testfwk.h: fixed compilation on Mac OS x
* docs/knownbugs.html: updated

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4815 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
doc/knownbugs.html
support/regression/fwk/include/testfwk.h
support/regression/tests/bug1057979.c
support/regression/tests/malloc.c

index 91de91f989400eb4c0174aacb7dc3a014111cc41..3a6cdaa2b493dbdbfd04f1a151e393813689db81 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-26 Borut Razem <borut.razem AT siol.net>
+
+       * support/regression/tests/bug1057979.c, support/regression/tests/malloc.c,
+         support/regression/fwk/include/testfwk.h: fixed compilation on Mac OS x
+       * docs/knownbugs.html: updated
+
 2007-05-25 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * doc/sdccman.lyx: inserted footnotes about inline assembler labels,
index bc9799c1d19cd19f94cb9d94aa77be7008b5efb7..00a880557b7f0cd1b2b936b8f0127443c9363e0c 100644 (file)
@@ -31,14 +31,6 @@ This file is generated automagicaly by gen_known_bugs.pl script.
   <td>tecodev</td>
   <td>tecodev</td>
 </tr>
-<tr bgcolor="#dababa">
-  <td> 1723128 </td>
-  <td><a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1723128&amp;group_id=599&amp;atid=100599"> Code compiles 2.6.0 but causes fatal error on 2.7.0 </a></td>
-  <td>2007-05-21 16:10 </td>
-  <td align="center"> 5 </td>
-  <td>nobody</td>
-  <td>grahamnz</td>
-</tr>
 <tr bgcolor="#dababa">
   <td> 1717943 </td>
   <td><a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1717943&amp;group_id=599&amp;atid=100599"> wrong optimized flow </a></td>
index 41689935db2750916b186826a3ca35097c14150c..36a9df0979fc7c8100f439bee10a4f431b6b7d68 100644 (file)
@@ -42,7 +42,9 @@ void __runSuite(void);
 #define FAIL()      FAILM("Failure")
 #define FAILM(_a)   __fail(_a, #_a, __FILE__, __LINE__)
 
+#ifndef NULL
 #define NULL  0
+#endif
 
 #define UNUSED(_a)  if (_a) { }
 
index 982416bbcb05d99841ac20e2da76a817e008a509..b7301acbec04533cd4e063e084d6197e154bc5c0 100644 (file)
@@ -2,10 +2,10 @@
    bug1057979.c
 */
 
-#include <testfwk.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
+#include <testfwk.h>
 
 char s[12+1];
 
index 683da53b28dcd06ee9591e3c11205e958a102f78..bbc36a0b4413dbdb19d7a38e89a0db1b5567afd3 100644 (file)
@@ -1,10 +1,10 @@
 /* Simple malloc tests.
  */
-#include <testfwk.h>
 #include <stdlib.h>
 #if defined(SDCC_pic16)
 #include <malloc.h>
 #endif
+#include <testfwk.h>
 
 #if defined(SDCC_pic16)
 xdata char heap[100];