[xml/sgml-pkgs] Bug#519611: libxml2-dev: c14n.h includes xmlversion.h too late
brian m. carlson
sandals at crustytoothpaste.ath.cx
Fri Mar 13 18:57:35 UTC 2009
Package: libxml2-dev
Version: 2.7.3.dfsg-1
Severity: normal
If I include c14n.h before any other libxml2 header, none of the
declarations are declared; that is, it's basically a no-op. This is due
to the following parts of the header:
#ifndef __XML_C14N_H__
#define __XML_C14N_H__
#ifdef LIBXML_C14N_ENABLED
#ifdef LIBXML_OUTPUT_ENABLED
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <libxml/xmlversion.h>
Note that xmlversion.h, which defines LIBXML_C14N_ENABLED and
LIBXML_OUTPUT_ENABLED, is not included until after they are used in
ifdefs. This causes a problem if c14n.h is the first libxml2 header
(which is quite likely, if the headers are #included in alphabetical
order).
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libxml2-dev depends on:
ii libxml2 2.7.3.dfsg-1 GNOME XML library
libxml2-dev recommends no packages.
libxml2-dev suggests no packages.
-- no debconf information
--
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20090313/acee6792/attachment.pgp
More information about the debian-xml-sgml-pkgs
mailing list