discuss-gnustep
[Top][All Lists]
Advanced

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

fix to build projectcenter with llvm was: applications that fail to buil


From: Sebastian Reitenbach
Subject: fix to build projectcenter with llvm was: applications that fail to build with new gnustep from svn
Date: Wed, 06 Apr 2011 19:51:57 +0200
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.2.14) Gecko/20110316 Thunderbird/3.1.8

Hi,
> ProjectCenter fails to compile this way, but I think I already know how
> to get this fixed, I already fixed sth. similar in SOPE:
> Making all for bundle ProjectCenter...
> clang PCParser.m -c \
>               -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
> -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
> -fno-strict-aliasing -fPIC -DDEBUG -fno-omit-frame-pointer -Wall
> -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -g -fgnu-runtime
> -fconstant-string-class=NSConstantString -I../../../ -I../../../Headers
> -I. -I/usr/local/include
> -I/projectcenter-0.7.0_writes_to_HOME/GNUstep/Library/Headers
> -I/usr/local/include \
>                -o obj/ProjectCenter.obj/PCParser.m.o
> PCParser.m:127:24: error: initializer element is not a compile-time constant
> static SEL selString = @selector(string:);
>                        ^~~~~~~~~~~~~~~~~~
> PCParser.m:128:24: error: initializer element is not a compile-time constant
> static SEL selNumber = @selector(number:);
>                        ^~~~~~~~~~~~~~~~~~
> PCParser.m:129:33: error: initializer element is not a compile-time constant
> static SEL selSpaceAndNewLine = @selector(spaceAndNewLine:);
>                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> PCParser.m:130:27: error: initializer element is not a compile-time constant
> static SEL selInvisible = @selector(invisible:);
>                           ^~~~~~~~~~~~~~~~~~~~~
> PCParser.m:131:24: error: initializer element is not a compile-time constant
> static SEL selSymbol = @selector(symbol:);
>                        ^~~~~~~~~~~~~~~~~~
> 5 errors generated.
Since Richard and David pointed out, this is old and not necessary
anymore, and most likely even wrong, attached patch fixes building PC
for me. Patch is against recent svn.

cheers,
Sebastian



>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Attachment: patch-Modules_Parsers_ProjectCenter_PCParser_m
Description: Text document


reply via email to

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