Created attachment 168982 [details]
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 :
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.
A commit references this bug:
Date: Fri Apr 29 21:13:29 UTC 2016
New revision: 414293
devel/ddd: Fix build with libc++ 3.8.0
Submitted by: dim
Approved by: firstname.lastname@example.org (maintainer timeout)