discuss-gnustep
[Top][All Lists]
Advanced

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

Re: error compiling gdl2


From: Sebastian Reitenbach
Subject: Re: error compiling gdl2
Date: Mon, 04 Apr 2011 13:55:00 +0200
User-agent: Mozilla/5.0 (X11; U; OpenBSD i386; en-US; rv:1.9.2.14) Gecko/20110316 Thunderbird/3.1.8

On 04/03/11 15:28, Ivan Vučica wrote:
> Looks like EODeleteRule might be undefined as a data type. That could
> be caused by a missing #include/#import somewhere. Find in which
> header EODeleteRule is defined (probably as an enum), and try
> #including/#import that.
the right header file was included. I just reinstalled all and it did
compile now. I'm not sure what was different before, maybe I used llvm,
and now gcc.

>
> I'm sure gdl2 maintainers would appreciate a patch :)
even better, no patch needed for now ;)

cheers,
Sebastian


>
> On Sat, Apr 2, 2011 at 10:21, Sebastian Reitenbach
> <sebastia@l00-bugdead-prods.de <mailto:sebastia@l00-bugdead-prods.de>>
> wrote:
>
>     Hi,
>
>     trying to compile gdl2 from svn leads to the following error:
>
>     cc SQLite3Adaptor.m -c \
>                  -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1
>     -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1
>     -D_REENTRANT -fPIC -DDEBUG -fno-omit-frame-pointer -Wall -DGSWARN
>     -DGSDIAGNOSE -Wno-import -O2 -pipe -g -fno-strict-aliasing
>     -fgnu-runtime
>     -fconstant-string-class=NSConstantString -I/usr/local/include -I../../
>     -I./derived_src -I. -I/usr/local/include
>     -I/gnustep-dl2-0.13.0_writes_to_HOME/GNUstep/Library/Headers
>     -I/usr/local/include \
>                   -o obj/SQLite3EOAdaptor.obj/SQLite3Adaptor.m.o
>     In file included from ../../EOAccess/EOAccess.h:41,
>                     from SQLite3Adaptor.h:29,
>                     from SQLite3Adaptor.m:30:
>     ../../EOAccess/EORelationship.h:135: error: expected ')' before
>     'EODeleteRule'
>     ../../EOAccess/EORelationship.h:174: error: expected ')' before
>     'EODeleteRule'
>     ../../EOAccess/EORelationship.h:215: error: expected ')' before
>     'EODeleteRule'
>     ../../EOAccess/EORelationship.h:216: error: expected ')' before
>     'EODeleteRule'
>     gmake[4]: *** [obj/SQLite3EOAdaptor.obj/SQLite3Adaptor.m.o] Error 1
>     gmake[3]: *** [internal-framework-run-compile-submake] Error 2
>     gmake[2]: *** [SQLite3EOAdaptor.all.framework.variables] Error 2
>
>
>     135: - (EODeleteRule)deleteRule;
>     174: - (void)setDeleteRule: (EODeleteRule)deleteRule;
>     215: - (NSString *)_stringFromDeleteRule: (EODeleteRule)deleteRule;
>     216: - (EODeleteRule)_deleteRuleFromString: (NSString
>     *)deleteRuleString;
>
>     EODeleteRule is a typedef enum.
>
>     The compiler is gcc version 4.2.1 20070719 on OpenBSD i386. After
>     a bit
>     googling around, I found that those statements should be valid.
>     Anything I can do about this?
>
>     Sebastian
>
>
>     _______________________________________________
>     Discuss-gnustep mailing list
>     Discuss-gnustep@gnu.org <mailto:Discuss-gnustep@gnu.org>
>     http://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>
>
>
> -- 
> Regards,
>
> Ivan Vučica
>




reply via email to

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