Hi Luis.
You can change the two lines
PROBLEM buf
WARN;
to the one line
warning(buf);
That should compile.
If not, please show us the compilation command for DocParse.c, i.e. all the
arguments
to the compiler, just above the error messages.
D.
Luis Tito de Morais wrote:
Hi list,
It may be a FAQ, but I searched the web and Uni of Newcastle Maths and
R mailing list archive on this issue but was unable to find a solution. I
appreciate any pointer to help me solving this.
I am using R version 2.10.0 (2009-10-26) on linux mandriva 2010.0
I tried to install the XML_2.6-0.tar.gz package both with
install.packages('XML', dep=T) from within R and the R CMD INSTALL using a
local tar.gz file.
I am having the following error message (sorry it is partly in french):
Dans le fichier inclus ?? partir de DocParse.c:13:
Utils.h:175:2: attention : #warning "Redefining COPY_TO_USER_STRING to use
encoding from XML parser"
DocParse.c: In function ???notifyError???:
DocParse.c:1051: erreur: le format n'est pas une cha??ne litt??rale et pas
d'argument de format
This last error message means:
"error: format not a string literal and no format arguments"
In the past when having such errors with other packages, I have been able
solve it with the help of this tip: