Re: [xml] AIX 4.3.2 compile error with 2.4.2



On Thu, Aug 16, 2001 at 02:22:15PM -0500, xml thewrittenword com wrote:
Is this valid C89 code? I passed this through GCC 2.95.3 and 3.0 with
-ansi -pedantic and it worked.

BTW, IRIX cc gives:

cc-3303 cc: WARNING File = ./include/libxml/HTMLparser.h, Line = 61
  A type qualifier on a return type is meaningless.

  Meaningful to me and gcc:
    the function returns a pointer to an immutable memory region,
warn if it is affected. 

cc-1552 cc: WARNING File = xpointer.c, Line = 2470
  The variable "stringlen" is set but never used.

      int stringlen; /* in bytes */

  Right, fixed,

   thanks,

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]