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

Attachment: signature.asc
Description: Digital signature

Reply via email to