Re: [xml] XPath.c: Error: '=': qualifier-losing implicit cast of pointer
- From: Philip Ludlam <nospam philipnet com>
- To: xml gnome org
- Subject: Re: [xml] XPath.c: Error: '=': qualifier-losing implicit cast of pointer
- Date: Mon, 09 Feb 2004 19:47:50 GMT
On 9 Feb, in message <20040209124644 GE16242 redhat com>
Daniel Veillard <veillard redhat com> wrote:
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 ?
*cc -v
Norcroft RISC OS ARM C vsn 5.54 [04 Apr 2003]
:-)
Yours,
Phil L.
--
http://www.philipnet.com | http://director.sourceforge.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]