[xml/sgml-pkgs] Bug#344298: libexpat1-dev: expat.h contains enum
definition with trailing comma
Zak Kipling
zak at transversal.com
Wed Dec 21 16:32:15 UTC 2005
Package: libexpat1-dev
Version: 1.95.8-3
Severity: normal
Tags: patch
The XML_Error enum in expat.h contains a trailing comma, which confuses
some C++ compilers (including gcc 3.4.4 with the -pedantic option) as it
violates the syntax given in the C++ standard (section 7.2).
There is already a patch in CVS for this upstream from September 2004,
but they haven't produced any further releases since then.
Could this be patched until a new release is available? The patch in
question is:
http://cvs.sourceforge.net/viewcvs.py/expat/expat/lib/expat.h?r1=1.71&r2=1.72&diff_format=u
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc2
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages libexpat1-dev depends on:
ii libc6-dev [libc-dev] 2.3.5-8 GNU C Library: Development Librari
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
libexpat1-dev recommends no packages.
-- no debconf information
-------------- next part --------------
===================================================================
RCS file: /cvsroot/expat/expat/lib/expat.h,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- expat/expat/lib/expat.h 2004/08/10 17:34:18 1.71
+++ expat/expat/lib/expat.h 2004/09/24 13:06:29 1.72
@@ -47,7 +47,7 @@
#define XML_STATUS_ERROR XML_STATUS_ERROR
XML_STATUS_OK = 1,
#define XML_STATUS_OK XML_STATUS_OK
- XML_STATUS_SUSPENDED = 2,
+ XML_STATUS_SUSPENDED = 2
#define XML_STATUS_SUSPENDED XML_STATUS_SUSPENDED
};
More information about the debian-xml-sgml-pkgs
mailing list