[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 12:03:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Sašo Kiselkov <skiselkov.ml@gmail.com> writes:
> On 02/19/2012 09:40 AM, Csanyi Pal wrote:
>> Sašo Kiselkov <skiselkov.ml@gmail.com> writes:
>>
>>> On 02/19/2012 02:40 AM, German Arias wrote:
>>>> 2012/2/18 Sašo Kiselkov <skiselkov.ml@gmail.com>:
>>>>> 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’
>
> This is your problem, but I'm not sure why it's happening - for all I
> know, importing Foundation.h should give you all necessary interface
> declarations... Try running make with "messages=yes" and send the
> output, your compile flags might be wrong. Also, what compiler are you
> using? (I tested this with gcc 4.6 without any problems.)
I'm using gcc 4.6 too:
ls -l /usr/bin/gcc
lrwxrwxrwx 1 root root 7 jan 5 18:27 /usr/bin/gcc -> gcc-4.6
Running make again with "messages=yes":
make messages=yes
This is gnustep-make 2.6.1. Type 'make print-gnustep-make-help' for help.
Making build-headers for framework HighlighterKit...
cd ./HighlighterKit.framework; \
if [ ! -h "Resources" ]; then \
rm -f Resources; \
ln -s Versions/Current/Resources Resources; \
fi; \
if [ ! -h "Headers" ]; then \
rm -f Headers; \
ln -s Versions/Current/Headers Headers; \
fi
cd ./derived_src; \
if [ ! -h "HighlighterKit" ]; then \
rm -f ./HighlighterKit; \
ln -s ../HighlighterKit.framework/Headers \
./HighlighterKit; \
fi
Making all for framework HighlighterKit...
gcc-4.6 HKSyntaxDefinition.m -c \
-MMD -MP -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
-fno-strict-aliasing -fexceptions -fobjc-exceptions
-D_NATIVE_OBJC_EXCEPTIONS -fPIC -Wall -DGSWARN
-DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -W -Wall
-Wno-unused -I./derived_src
-I. -I/home/csanyipal/GNUstep/Library/Headers
-I/usr/local/include/GNUstep -I/usr/include/GNUstep \
-o obj/HighlighterKit.obj/HKSyntaxDefinition.m.o
HKSyntaxDefinition.m: In function ‘ParseSyntaxGraphics’:
HKSyntaxDefinition.m:43:3: error: cannot find interface declaration for
‘NXConstantString’
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
foregroundColorForContext:]’:
HKSyntaxDefinition.m:648:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
backgroundColorForContext:]’:
HKSyntaxDefinition.m:658:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isItalicFontForContext:]’:
HKSyntaxDefinition.m:670:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isBoldFontForContext:]’:
HKSyntaxDefinition.m:682:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
foregroundColorForKeyword:inContext:]’:
HKSyntaxDefinition.m:705:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
backgroundColorForKeyword:inContext:]’:
HKSyntaxDefinition.m:719:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isItalicFontForKeyword:inContext:]’:
HKSyntaxDefinition.m:733:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘-[HKSyntaxDefinition
isBoldFontForKeyword:inContext:]’:
HKSyntaxDefinition.m:747:1: warning: control reaches end of non-void
function [-Wreturn-type]
HKSyntaxDefinition.m: In function ‘+[HKSyntaxDefinition
syntaxDefinitionForType:]’:
HKSyntaxDefinition.m:357: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
--
Regards from Pal
- [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Germán Arias, 2012/02/14
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Ivan Vučica, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Germán Arias, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, German Arias, 2012/02/18
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3,
Csanyi Pal <=
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Sašo Kiselkov, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Csanyi Pal, 2012/02/19
- Re: [ANN] HighlighterKit 0.1.2 and Gemas 0.3 - Gemas, Ivan Vučica, 2012/02/19