[xml] Minor troubles compiling xinclude.c

Date view Thread view Subject view Author view

From: Oliver Eikemeier (eikemeier@gmx.de)
Date: Sat Feb 10 2001 - 21:43:26 EST


Hi Daniel,

in libxml2, xinclude.c you define URL as type xmlChar *:

in line 56:
typedef xmlChar *URL;

and use it later as a variable of the same type:

line 306 and line 425:
    xmlChar *URL;

even thou this is perfectly legal C, my compiler gets confused. Perhaps you
get more style point if you change the typedef to URL_t or eliminate it at
all?

Thanks
    Oliver

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Feb 11 2001 - 04:44:47 EST