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:  Build Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  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 Files:
   
   
Comment:
   

Attached Files
file #43539:  patch-unknown-type-name-a_class.diff added by None (309B - application/octet-stream - @Ryan : that file fixed it for me. Attached it to allow brew to patch it.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can 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):

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    Tue 13 Mar 2018 04:10:45 PM UTC None Attached File- => Added patch-unknown-type-name-a_class.diff, #43539

    Back to the top


    Powered by Savane 3.3