Index: /trunk/psLib/test/astro/tap_psTime_01.c
===================================================================
--- /trunk/psLib/test/astro/tap_psTime_01.c	(revision 24022)
+++ /trunk/psLib/test/astro/tap_psTime_01.c	(revision 24023)
@@ -842,7 +842,7 @@
     {
         psMemId id = psMemGetId();
-        psTime *time2 = psTimeConvert(NULL, PS_TIME_TAI);
-
-        ok(time2 == NULL, "psTimeConvert(NULL, PS_TIME_TAI) returned NULL");
+        bool status = psTimeConvert(NULL, PS_TIME_TAI);
+
+        ok(status == false, "psTimeConvert(NULL, PS_TIME_TAI) returned NULL");
         ok(!psMemCheckLeaks (id, NULL, NULL, false), "no memory leaks");
 
Index: /trunk/psLib/test/sys/tap_psMemory.c
===================================================================
--- /trunk/psLib/test/sys/tap_psMemory.c	(revision 24022)
+++ /trunk/psLib/test/sys/tap_psMemory.c	(revision 24023)
@@ -512,5 +512,7 @@
     
         psSpline1D *spline;
-        spline = psSpline1DAlloc(2, 1, 0, 2);
+	// XXX API changed : 
+        // spline = psSpline1DAlloc(2, 1, 0, 2);
+        spline = psSpline1DAlloc();
         okay = psMemCheckType(PS_DATA_SPLINE1D, spline);
         if (!okay )
Index: /trunk/psLib/test/sys/tap_psString.c
===================================================================
--- /trunk/psLib/test/sys/tap_psString.c	(revision 24022)
+++ /trunk/psLib/test/sys/tap_psString.c	(revision 24023)
@@ -420,5 +420,6 @@
 
         //psStringAppend should return 0 for NULL input format
-        outSize = psStringAppend(test, nullTest);
+	// note that only a string literal is allowed for the NULL due to gcc change
+        outSize = psStringAppend(test, NULL);
         ok(outSize == 0, "psStringAppend to return 0 for NULL input format");
 
@@ -428,5 +429,6 @@
 
         //psStringPrepend should return 0 for NULL input format
-        outSize = psStringPrepend(test, nullTest);
+	// note that only a string literal is allowed for the NULL due to gcc change
+        outSize = psStringPrepend(test, NULL);
         ok(outSize == 0, "psStringPrepend to return 0 for NULL input format");
 
