gnustep-dev
[Top][All Lists]
Advanced

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

Re: Compilation error on Solaris...


From: Fred Kiefer
Subject: Re: Compilation error on Solaris...
Date: Thu, 29 Apr 2010 09:35:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Thunderbird/3.0.4

Am 28.04.2010 22:56, schrieb Gregory Casamento:
> I'm pleased to report that deleting the version of GNUstep I had at
> /usr/GNUstep cleared this problem.  It's likely an issue with
> includes.  It appears the code may be including the .h files from the
> installed version rather than the one we're building from when the
> installed version is available (am I describing this clearly?).
> 
> I would still consider this a bug, albeit a minor one.   Also, with
> the version of GCC I'm using, gcc 4.3.x, I'm getting a message about
> missing stdint.h.  It's been a while since I built on Solaris, so I'm
> not sure if this is expected.

The problem you had was with a gui file (NSGraphicsContext.m)  including
a base header (NSThread.h). I think in this case of two different
libraries, although belonging to the same project, we would expect that
the installed files get used in preference over any other version.
Within the base library Richard tried to address the import issue by
changing all import in implementation files to use "" when importing
headers from the same library and started to use some #ifdef mechanism
in the headers to achieve the same there:

#if     defined(GNUSTEP_BASE_INTERNAL)

At the moment this isn't used in all base headers (and gui still lags
behind, there we only have cleaned up most of the implementation files).
What I don't see is how this mechanism could have helped in your case.

Fred




reply via email to

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