discuss-gnustep
[Top][All Lists]
Advanced

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

Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3


From: Csanyi Pal
Subject: Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3
Date: Sun, 19 Feb 2012 09:40:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Sašo Kiselkov <address@hidden> writes:

> On 02/19/2012 02:40 AM, German Arias wrote:
>> 2012/2/18 Sašo Kiselkov <address@hidden>:
>>> It seems to be caused by a change in include dependencies - in the
>>> implementation files I included (for speed of compilation) only a subset
>>> of the Foundation headers needed for compilation. Seems like GNUstep
>>> stopped including NSString.h from the headers included in HKit. You
>>> could simply fix this by replacing all Foundation import lines:
>>>
>>> #import <Foundation/...h>
>>>
>>> with a single:
>>>
>>> #import <Foundation/Foundation.h>
>>>
>>> in files which report compilation errors.

I did it:
nano HKSyntaxDefinition.m

<HKSyntaxDefinition.m>
 ..

/*
#import <Foundation/NSArray.h>
#import <Foundation/NSBundle.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSFileManager.h>
#import <Foundation/NSPathUtilities.h>
#import <Foundation/NSScanner.h>
#import <Foundation/NSUserDefaults.h>
#import <Foundation/NSValue.h>
*/

#import <Foundation/Foundation.h>

 ..
</HKSyntaxDefinition.m>

then run 'make'

This is gnustep-make 2.6.1. Type 'make print-gnustep-make-help' for help.
Making build-headers for framework HighlighterKit...
Making all for framework HighlighterKit...
 Compiling file HKSyntaxDefinition.m ...
HKSyntaxDefinition.m: In function ‘ParseSyntaxGraphics’:
HKSyntaxDefinition.m:47:3: error: cannot find interface declaration for
‘NXConstantString’ 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
foregroundColorForContext:]’: 
HKSyntaxDefinition.m:652:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
backgroundColorForContext:]’: 
HKSyntaxDefinition.m:662:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isItalicFontForContext:]’: 
HKSyntaxDefinition.m:674:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isBoldFontForContext:]’: 
HKSyntaxDefinition.m:686:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
foregroundColorForKeyword:inContext:]’: 
HKSyntaxDefinition.m:709:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
backgroundColorForKeyword:inContext:]’: 
HKSyntaxDefinition.m:723:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isItalicFontForKeyword:inContext:]’: 
HKSyntaxDefinition.m:737:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isBoldFontForKeyword:inContext:]’: 
HKSyntaxDefinition.m:751:1: warning: control reaches end of non-void
function [-Wreturn-type] 
HKSyntaxDefinition.m: In function ‘+[HKSyntaxDefinition
syntaxDefinitionForType:]’: 
HKSyntaxDefinition.m:361:1: warning: control reaches end of non-void
function [-Wreturn-type] 
make[2]: *** [obj/HighlighterKit.obj/HKSyntaxDefinition.m.o] Error 1
make[1]: *** [internal-framework-run-compile-submake] Error 2
make: *** [HighlighterKit.all.framework.variables] Error 2

>> Which version of gnustep are you using? Which system? I tested
>> HighlighterKit and Gemas with gnustep stable release and compiles
>> fine. Even with current SVN I don't have problems.
>
> I've tried compiling the latest SVN on Ubuntu 11.10 and it worked fine
> with the bundled GNUstep (gnustep-base 1.22). I based my suggestions to
> Csanyi Pal on his compilation errors (missing NXConstantString
> declarations on lines where @"something" is used in the .m files).

aptitude show gnustep-base-common
Package: gnustep-base-common             
State: installed
Automatically installed: yes
Version: 1.22.1-2

-- 
Regards from Pal




reply via email to

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