Your message dated Wed, 16 Nov 2005 14:47:18 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#249429: fixed in xfsprogs 2.7.7-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 May 2004 12:00:53 +0000
>From [EMAIL PROTECTED] Mon May 17 05:00:53 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mxintern.kundenserver.de (mxintern.schlund.de) [212.227.126.204] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BPgnc-0008QU-00; Mon, 17 May 2004 05:00:52 -0700
Received: from [172.17.36.9] (helo=manwe.use.schlund.de)
        by mxintern.kundenserver.de with smtp (Exim 3.35 #1)
        id 1BPgnb-0000Ph-00
        for [EMAIL PROTECTED]; Mon, 17 May 2004 14:00:51 +0200
Received: by manwe.use.schlund.de (sSMTP sendmail emulation); Mon, 17 May 2004 
14:00:51 +0200
Date: Mon, 17 May 2004 14:00:51 +0200
From: Stephan A Suerken <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: xfslibs-dev: xfs/swab.h not ISO-C(++) compliant
X-Debbugs-CC: Stephan A Suerken <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: xfslibs-dev
Version: 2.6.11-1
Severity: normal
Tags: patch, upstream

Hi,

when including XFS support from any C++ (maybe C as well) program and
compiling it with "-pedantic" will lead to:

---
In file included from /usr/include/xfs/platform_defs.h:60,
                 from /usr/include/xfs/libxfs.h:38,
                 from /usr/include/xfs/xqm.h:36,
                 from QuotaInfo.cpp:17:
/usr/include/xfs/swab.h: In function `const __u16 __fswab16(short unsigned int)
   ':
/usr/include/xfs/swab.h:113: error: ISO C++ forbids braced-groups within
   expressions
---

Afaik, includes intended for user space should have this fixed (for
gcc, at least) via "__extension__", as in the patch.

--- swab.h.orig 2004-05-17 13:54:00.000000000 +0200
+++ swab.h      2004-05-17 13:44:40.000000000 +0200
@@ -110,28 +110,28 @@
 
 static __inline__ __const__ __u16 __fswab16(__u16 x)
 {
-       return __arch__swab16(x);
+       return (__extension__ __arch__swab16(x));
 }
 static __inline__ __u16 __swab16p(__u16 *x)
 {
-       return __arch__swab16p(x);
+       return (__extension__ __arch__swab16p(x));
 }
 static __inline__ void __swab16s(__u16 *addr)
 {
-       __arch__swab16s(addr);
+       (__extension__ ({__arch__swab16s(addr);}));
 }
 
 static __inline__ __const__ __u32 __fswab32(__u32 x)
 {
-       return __arch__swab32(x);
+       return (__extension__ __arch__swab32(x));
 }
 static __inline__ __u32 __swab32p(__u32 *x)
 {
-       return __arch__swab32p(x);
+       return (__extension__ __arch__swab32p(x));
 }
 static __inline__ void __swab32s(__u32 *addr)
 {
-       __arch__swab32s(addr);
+       (__extension__ ({__arch__swab32s(addr);}));
 }
 
 static __inline__ __const__ __u64 __fswab64(__u64 x)
@@ -141,16 +141,16 @@
        __u32 l = x & ((1ULL<<32)-1);
        return (((__u64)__swab32(l)) << 32) | ((__u64)(__swab32(h)));
 #  else
-       return __arch__swab64(x);
+       return (__extension__ __arch__swab64(x));
 #  endif
 }
 static __inline__ __u64 __swab64p(__u64 *x)
 {
-       return __arch__swab64p(x);
+       return (__extension__ __arch__swab64p(x));
 }
 static __inline__ void __swab64s(__u64 *addr)
 {
-       __arch__swab64s(addr);
+       (__extension__ ({__arch__swab64s(addr);}));
 }
 
 #endif /* SWAB_H */
---UDIFFEND---

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (1002, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-custom-adkm-manwe
Locale: LANG=C, [EMAIL PROTECTED]

Versions of packages xfslibs-dev depends on:
ii  libc6-dev                   2.3.2.ds1-12 GNU C Library: Development Librari
ii  uuid-dev                    1.2-1.35-6   Universally unique id library - he
ii  xfsprogs                    2.6.11-1     Utilities for managing the XFS fil

-- no debconf information

---------------------------------------
Received: (at 249429-close) by bugs.debian.org; 16 Nov 2005 22:51:25 +0000
>From [EMAIL PROTECTED] Wed Nov 16 14:51:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1EcW3i-00038x-Nc; Wed, 16 Nov 2005 14:47:18 -0800
From: Nathan Scott <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#249429: fixed in xfsprogs 2.7.7-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 16 Nov 2005 14:47:18 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: xfsprogs
Source-Version: 2.7.7-1

We believe that the bug you reported is fixed in the latest version of
xfsprogs, which is due to be installed in the Debian FTP archive:

xfslibs-dev_2.7.7-1_i386.deb
  to pool/main/x/xfsprogs/xfslibs-dev_2.7.7-1_i386.deb
xfsprogs-udeb_2.7.7-1_i386.udeb
  to pool/main/x/xfsprogs/xfsprogs-udeb_2.7.7-1_i386.udeb
xfsprogs_2.7.7-1.dsc
  to pool/main/x/xfsprogs/xfsprogs_2.7.7-1.dsc
xfsprogs_2.7.7-1.tar.gz
  to pool/main/x/xfsprogs/xfsprogs_2.7.7-1.tar.gz
xfsprogs_2.7.7-1_i386.deb
  to pool/main/x/xfsprogs/xfsprogs_2.7.7-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nathan Scott <[EMAIL PROTECTED]> (supplier of updated xfsprogs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 16 Nov 2005 16:32:35 +1100
Source: xfsprogs
Binary: xfsprogs-udeb xfslibs-dev xfsprogs
Architecture: source i386
Version: 2.7.7-1
Distribution: unstable
Urgency: low
Maintainer: Nathan Scott <[EMAIL PROTECTED]>
Changed-By: Nathan Scott <[EMAIL PROTECTED]>
Description: 
 xfslibs-dev - XFS filesystem-specific static libraries and headers
 xfsprogs   - Utilities for managing the XFS filesystem
 xfsprogs-udeb - A stripped-down version of xfsprogs, for debian-installer 
(udeb)
Closes: 249429 336350 338207
Changes: 
 xfsprogs (2.7.7-1) unstable; urgency=low
 .
   * New upstream release.
   * Add support for (optional) ATTR2 format extension (closes: #336350)
   * Allow gcc -pedantic option for C++ <xfs.h> users (closes: #249429)
   * Fix segv in xfs_db frag command (closes: #338207)
Files: 
 57698965b78d61b5dbb03424f8f7649b 571 admin optional xfsprogs_2.7.7-1.dsc
 88d98bcd4f2c4138124414c5110b10f1 866084 admin optional xfsprogs_2.7.7-1.tar.gz
 fe7449f507ed814bde6677fa378c38c9 1055844 admin optional 
xfsprogs_2.7.7-1_i386.deb
 b1cd6763cb55aa64b4e05b672dc45f8a 280684 libdevel extra 
xfslibs-dev_2.7.7-1_i386.deb
 2a6cc295e660cdc3b65f2e481a39e424 125304 debian-installer optional 
xfsprogs-udeb_2.7.7-1_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFDe7SNm8fl3HSIa2MRAu7yAKCLKiHa1m9K9PyYPyWdEnco+IDZggCfbDKz
2f7+w1ahcchHSIoaLe08y0E=
=Jvua
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to