bugSwarm - Bugs: bug #42866, Compile failure with clang


bug #42866: Compile failure with clang

Submitted by:  Ryan Schmidt <ryandesign>
Submitted on:  Tue 29 Jul 2014 12:31:18 AM UTC  
Category: SwarmSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Scott Christley <schristley>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Sun 08 Mar 2015 05:19:58 PM UTC, comment #2:

The original Swarm code and the last stable release relies upon GNU Objective-C V1.0 internal data structures and a GCC that can compile for it. In the development branch, there is work to abstract the use of the Objective-C runtime and support Objective-C V2.0. This code compiles and works on Mac OSX using Xcode with an Xcode project file, but importantly this is a Mac native port that does not support the GUI classes and will not compile existing Swarm applications. They would essentially need to be rewritten.

Unfortunately, support for GNU/Linux systems needs to be finished, this includes compiling Swarm on Mac OSX as a Unix-like library using X-Windows and etc., which would allow existing Swarm applications to be compiled and run with minimal change. We are waiting for a volunteer to finish these changes, and we do not have a timeline on when that may occur.

Scott Christley <schristley>
Project AdministratorIn charge of this item.
Sat 04 Oct 2014 06:10:21 AM UTC, comment #1:

Have you made any progress in making your code compatible with clang?

Ryan Schmidt <ryandesign>
Tue 29 Jul 2014 12:31:18 AM UTC, original submission:

Hello, swarm 2.4.1 does not build on OS X with the clang compiler:

It is important to allow your software to be compiled with the clang compiler, because that's the only compiler included in Xcode 5 and up on OS X.

Ryan Schmidt <ryandesign>


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

Attach File(s):

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 schristley (Posted a comment)
  • -unavailable- added by ryandesign (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):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 08 Mar 2015 05:20:17 PM UTCschristleyAssigned toNone=>schristley

    Back to the top

    Powered by Savane 3.1-cleanup