swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] compile with objective-c++


From: Marcus G. Daniels
Subject: Re: [Swarm-Support] compile with objective-c++
Date: Sat, 03 Mar 2007 23:11:56 -0700
User-agent: Thunderbird 1.5.0.9 (X11/20070212)

Hi Gennady,

From the initial errors you related, it looks like Objective C++ isn't accepting forward declarations of Objective C classes, namely the "@class" directive.. C++ does have more reserved words than Objective C, so there is surely work to be done to get either Swarm to compile with Objective C++ or models based on Swarm to compile with that front end.

Still, it's an interesting idea, and would help users leverage C++ libraries and performance features..

/usr/local/include/defobj/DefObject.h:31: error: stray '@' in program
In file included from /usr/local/include/space/Discrete2d.h:28,
                 from AirSpace.h:1,
                 from Aircraft.h:3,
                 from Aircraft.mm:2:
/usr/local/include/space.h:419: error: stray '@' in program
/usr/local/include/space.h:420: error: stray '@' in program
/usr/local/include/space.h:421: error: stray '@' in program
/usr/local/include/space.h:422: error: stray '@' in program
/usr/local/include/space.h:423: error: stray '@' in program
/usr/local/include/space.h:424: error: stray '@' in program
/usr/local/include/space.h:425: error: stray '@' in program
/usr/local/include/space.h:426: error: stray '@' in program
/usr/local/include/space.h:427: error: stray '@' in program



reply via email to

[Prev in Thread] Current Thread [Next in Thread]