discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Typedef errors when building llvm/clang/gnustep


From: Fred Kiefer
Subject: Re: Typedef errors when building llvm/clang/gnustep
Date: Tue, 26 Mar 2013 21:05:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

You should always reply to the original mailing list.

Which version of libobjc are you using. I would have thought this is libobjc2 from David Chisnall, that is located in the GNUstep repository. But that should come with full blocks support.

On 24.03.2013 22:52, James Carthew wrote:
I'm using current clang svn and current llvm svn so version 3.3
HAVE_BLOCKS=' ' OBJCRUNTIME=' '


On 25 March 2013 07:24, Fred Kiefer <fredkiefer@gmx.de> wrote:

On 24.03.2013 21:13, James Carthew wrote:

When compilling gnustep-base receiving error messages like these:

Making all for subproject ObjectiveC2...
   Compiling file NSBlocks.m ...
In file included from NSBlocks.m:19:
../../Headers/ObjectiveC2/**objc/runtime.h:83:15: error: typedef
redefinition
with different types ('void *' vs
        'struct objc_property *')
typedef void *objc_property_t;
                ^
Have been trying to use the gnustep install script which checks out and
downloads llvm/clang/gnustep/gnustep-**apps from svn. I've also tried to
manually compile each package using llvm/clang.


The ObjectiveC2 sub project should only be used when you either don't have
libobjc2 or your compiler doesn't support blocks. Neither of this
conditions should normally hold for your compiler. Which version of clang
are you using and what results do you get in the config.log file for
HAVE_BLOCKS and OBJC2RUNTIME?




reply via email to

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