bugDDD - Bugs: bug #52175, Build fails with Xcode 9 on macOS...

 
 

bug #52175: Build fails with Xcode 9 on macOS 10.13

Submitted by:  FX <fxcoudert>
Submitted on:  Thu 05 Oct 2017 06:51:31 PM UTC  
 
Category: BuildSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 17 Nov 2017 12:31:17 PM UTC, comment #1:

Here is the patch I used in MacPorts to work around the problem:

https://github.com/macports/macports-ports/blob/a71fa9f497ef9e7b18dbfa163952d4d5e6123600/devel/ddd/files/patch-unknown-type-name-a_class.diff

Ryan Schmidt <ryandesign>
Thu 05 Oct 2017 06:51:31 PM UTC, original submission:

Build of ddd-3.3.12.tar.gz on macOS 10.13 with system compiler (Xcode 9) leads to many errors of the form:

In file included from LabelH.C:36:
In file included from /usr/local/include/Xm/XmP.h:40:
In file included from /usr/local/include/Xm/Xm.h:59:
In file included from /opt/X11/include/X11/Intrinsic.h:53:
In file included from /opt/X11/include/X11/Xlib.h:51:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1
/stddef.h:51:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/__nullptr:35:15: erro
r: 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
^

FX <fxcoudert>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ryandesign (Posted a comment)
  • -unavailable- added by fxcoudert (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1