Re: [xml] XPath.c: Error: '=': qualifier-losing implicit cast of pointer



On Fri, Feb 06, 2004 at 08:34:08PM +0000, Philip Ludlam wrote:
Dear All,

I get the following error from my compiler when compiling xpath.c:
Error: '=': qualifier-losing implicit cast of pointer
which occurs at the altered lines in the attached patch (here it's lines
570 & 576).

The compiler is quite a stickler for the C standard and I believe that
it doesn't like the assignment of const value to a non-const one (see
S6.7.3).

  Okay, applied, this looks harmless. But what compiler raises those ?

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]