[Bug 208528] devel/ddd: Fix build with libc++ 3.8.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 4 19:39:34 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208528
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 at FreeBSD.org
Reporter: dim at FreeBSD.org
CC: sergio at softshark.org
CC: sergio at softshark.org
Flags: maintainer-feedback?(sergio at softshark.org)
Created attachment 168982
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168982&action=edit
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. This
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list