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

Earnie <[email protected]>
Newsgroups gmane.comp.gnome.lib.xml.general,gmane.text.xml.schema.devel
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.