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?