gnustep-dev
[Top][All Lists]
Advanced

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

Re: Compilation error


From: Riccardo Mottola
Subject: Re: Compilation error
Date: Fri, 05 Aug 2011 19:30:49 +0200
User-agent: Mozilla/5.0 (Windows NT 5.0; rv:5.0) Gecko/20110706 Firefox/5.0 SeaMonkey/2.2

Hi,

this is with Cygwin (I know, an unlucky platform already, but at least it compiled up to some days ago...)

 Compiling file NSNumber.m ...
NSNumber.m:50:26: error: objc/runtime.h: No such file or directory
make[4]: *** [obj/libgnustep-base.obj/NSNumber.m.o] Error 1

it is a fresh install, with a freshly reconfigured make, libobjc 1.6 from gnustep devlibs, reconfigured make and base (reconfigured too).

Riccardo

David Chisnall wrote:
Applying this patch will break the NSSmallInt stuff.  I thought Richard fixed 
the ObjectiveC2 stuff so that it was safe to include objc/runtime.h anywhere - 
or does that only work after GNUstep is installed?  Did you try rerunning 
configure?

David

On 4 Aug 2011, at 21:12, Philippe Roussel wrote:

Hi all,

My gnustep testfarm setup needs the following one liner for the
compilation to finish.

This is on GNU/Linux i686 with gcc 4.4.5. Removing the include doesn't
generate any warning for me and I get the following results for base
tests :


   6399 Passed tests
     15 Dashed hopes
      1 Failed set

Philippe

Index: base/Source/NSNumber.m
===================================================================
--- base/Source/NSNumber.m      (révision 33694)
+++ base/Source/NSNumber.m      (copie de travail)
@@ -47,7 +47,6 @@
#import "Foundation/NSException.h"
#import "Foundation/NSValue.h"
#import "GNUstepBase/NSObject+GNUstepBase.h"
-#include<objc/runtime.h>

/*
  * NSNumber implementation.  This matches the behaviour of Apple's



_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev

--
This email complies with ISO 3103


_______________________________________________
Gnustep-dev mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/gnustep-dev




reply via email to

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