W3C home > Mailing lists > Public > xmlschema-dev@w3.org > December 2011

Re: [xml] libxml2 does xmlSchemaValidateDoc() support xml schema extensions?

From: Earnie <earnie@users.sourceforge.net>
Date: Fri, 16 Dec 2011 10:02:02 -0500
Message-ID: <4EEB5D6A.4000208@users.sourceforge.net>
To: Piotr Sipika <piotreks@optonline.net>
CC: Andy Davidson <andy_davidson@apple.com>, xml@gnome.org, xmlschema-dev@w3.org
Piotr Sipika wrote:

> 
> [] to compile:
> $ gcc `xml2-config --cflags --libs` zoo.c -o zoo
> 

No, this is wrong command line order.  Specifying the libraries before
the objects has always been wrong even though it has worked on Linux it
will never work on Windows or other environments.  Instead

$ gcc `xml2-config --cflags` zoo.c -o zoo `xml2-config --libs`

or even

$ gcc zoo.c -o zoo `xml2-config --cflags --libs`

since the compile flags are not position dependent but the library
specifications are.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd/
Received on Sunday, 18 December 2011 12:22:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:19 UTC