Hi,
There may be problems compiling sablotron 0.33 with the expr.cpp file.
This is because we were using an older version of gcc that was less
strict about casts. We moved to 2.95.2 now.
A new release with this and other things fixed should appear on the
Ginger Alliance site no later than today.
If you can´t wait, you can fix the expr.cpp file yourself. The patch has
been suggested by Matt Sergeant:
.................
THE PATCH FOLLOWS
.................
*** Sablot/expr.cpp Thu May 4 14:46:23 2000
--- Sablot/expr.cpp.old Thu May 4 14:47:11 2000
***************
*** 1243,1249 ****
return *patomstring;
break;
case EX_BOOLEAN:
! return (atombool ? (char *)"true" : (char *)"false");
break;
case EX_NODESET:
if (!patomnodeset -> number())
--- 1243,1249 ----
return *patomstring;
break;
case EX_BOOLEAN:
! return (atombool ? "true" : "false");
break;
case EX_NODESET:
if (!patomnodeset -> number())
*** Sablot/proc.cpp Thu May 4 14:47:33 2000
--- Sablot/proc.cpp.old Thu May 4 14:48:01 2000
***************
*** 728,734 ****
*/
Vertex *newv;
t -> pendingNS.append(newv = new NmSpace(
! prefix? (char *) prefix : (char*)"",
(char*) uri));
newv -> lineno = XML_GetCurrentLineNumber((XML_Parser*) parser);
}
--- 728,734 ----
*/
Vertex *newv;
t -> pendingNS.append(newv = new NmSpace(
! prefix? (char *) prefix : "",
(char*) uri));
newv -> lineno = XML_GetCurrentLineNumber((XML_Parser*) parser);
}
*** Sablot/sabcmd/sabcmd.c Thu May 4 14:50:28 2000
--- Sablot/sabcmd/sabcmd.c.old Thu May 4 14:49:07 2000
***************
*** 90,97 ****
paramsToPass[2 * paramsI] = NULL;
if (SablotProcess(argv[1],
! firstEq <= 2 ? (char*)"file://stdin" : argv[2],
! firstEq <= 3 ? (char*)"file://stdout" : argv[3],
paramsToPass, argsToPass, &resultArg))
return(1);
if (resultArg)
--- 90,97 ----
paramsToPass[2 * paramsI] = NULL;
if (SablotProcess(argv[1],
! firstEq <= 2 ? "file://stdin" : argv[2],
! firstEq <= 3 ? "file://stdout" : argv[3],
paramsToPass, argsToPass, &resultArg))
return(1);
if (resultArg)
--
Petr Cimprich
Ginger Alliance Ltd.
www.gingerall.com