Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2016 19:39:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208528] devel/ddd: Fix build with libc++ 3.8.0
Message-ID:  <bug-208528-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208528

            Bug ID: 208528
           Summary: devel/ddd: Fix build with libc++ 3.8.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: sergio@softshark.org
                CC: sergio@softshark.org
             Flags: maintainer-feedback?(sergio@softshark.org)

Created attachment 168982
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168982&action=
=3Dedit
Remove C++ keyword overriding defines from devel/ddd

During the exp-run in bug 208158, it was found that devel/ddd gives errors =
with
libc++ 3.8.0 [1]:

In file included from LabelH.C:36:
In file included from /usr/local/include/Xm/XmP.h:45:
In file included from /usr/local/include/Xm/Xm.h:59:
In file included from /usr/local/include/X11/Intrinsic.h:53:
In file included from /usr/local/include/X11/Xlib.h:51:
In file included from /usr/include/c++/v1/stddef.h:51:
/usr/include/c++/v1/__nullptr:35:15: error: unknown type name 'a_class'; did
you mean 'class'?
    template <class _Tp>
              ^
LabelH.C:34:15: note: expanded from macro 'class'
#define class a_class
              ^

This is because several source files in this package attempt to redefine the
C++ keywords 'new' and 'class' with different identifiers, probably because
very old Motif headers abused those keywords as variables or parameters.  T=
his
is not needed anymore, and the keyword redefinitions can be deleted without
problems.

[1]
http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_=
18h30m05s/logs/errors/ddd-3.3.12_1.log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208528-13>