xfs
[Top] [All Lists]

[Bug 316] New: C++ compiler errors/warnings

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 316] New: C++ compiler errors/warnings
From: bugzilla-daemon@xxxxxxxxxxx
Date: Wed, 17 Mar 2004 01:30:09 -0800
Sender: linux-xfs-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=316

           Summary: C++ compiler errors/warnings
           Product: Linux XFS
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: High
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: W.Price@xxxxxxxxxxxxxxxxxxxxxxxx


Building C++ code which includes <xfs/libxfs.h> produces the following errors:

/usr/include/xfs/swab.h: In function `const __u64 __fswab64(long long
unsigned
   int)':
/usr/include/xfs/swab.h:144: error: ISO C++ forbids braced-groups within
   expressions
/usr/include/xfs/swab.h:144: error: ISO C++ forbids braced-groups within
   expressions
/usr/include/xfs/swab.h: In function `__u64 __swab64p(__u64*)':
/usr/include/xfs/swab.h:149: error: ISO C++ forbids braced-groups within
   expressions
/usr/include/xfs/swab.h:149: error: ISO C++ forbids braced-groups within
   expressions
/usr/include/xfs/swab.h: In function `void __swab64s(__u64*)':
/usr/include/xfs/swab.h:153: error: ISO C++ forbids braced-groups within
   expressions
/usr/include/xfs/swab.h:153: error: ISO C++ forbids braced-groups within
   expressions


This is using xfsprogs-2.6.3



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 316] New: C++ compiler errors/warnings, bugzilla-daemon <=