discuss-gnustep
[Top][All Lists]
Advanced

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

releases for gorm or projectcenter??


From: Sebastian Reitenbach
Subject: releases for gorm or projectcenter??
Date: Tue, 11 Oct 2011 18:16:36 +0200
User-agent: SOGoMail 1.3.8

Hi,

usually the openbsd ports build with gcc-4.2.1 and the libobjc that comes with 
it. I plan to switch the ports to use clang/libobjc2 instead.
I tried to compile the latest releases of gorm and projectcenter with 
clang/libobjc2. However, they fail to compile. I know they compile fine when 
using both from svn.
Could there be made some new releases for both?
If there are half baked features in the applications which are not yet ready to 
be released, could there be made some intermediate releases, just fixing the 
build errors?
If all is not possible, could someone maybe point me to the changes in svn that 
made it compile with clang/libobjc2?

thanks,
Sebastian


Gorm compilation failure:
clang GormObjectInspector.m -c \
      -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -g 
-O0 -fgnu-runtime -fconstant-string-class=NSConstantString -I.. -I. 
-I/usr/local/include -I/gorm-1.2.12_writes_to_HOME/GNUstep/Library/Headers 
-I/usr/local/include \
       -o obj/GormCore.obj/GormObjectInspector.m.o
GormObjectInspector.m:226:38: error: incomplete definition of type 'struct 
objc_class'
          struct objc_method_list       *mlist = c->methods;
                                                 ~^
/usr/local/include/objc/runtime.h:68:16: note: forward declaration of 'struct 
objc_class'
typedef struct objc_class *Class;
               ^
GormObjectInspector.m:230:44: error: incomplete definition of type 'struct 
objc_method_list'
              struct objc_method        *methods = &mlist->method_list[0];
                                                    ~~~~~^
GormObjectInspector.m:226:11: note: forward declaration of 'struct 
objc_method_list'
          struct objc_method_list       *mlist = c->methods;
                 ^
GormObjectInspector.m:231:27: error: incomplete definition of type 'struct 
objc_method_list'
              int                       count = mlist->method_count;
                                                ~~~~~^
GormObjectInspector.m:226:11: note: forward declaration of 'struct 
objc_method_list'
          struct objc_method_list       *mlist = c->methods;
                 ^
GormObjectInspector.m:236:24: error: subscript of pointer to incomplete type 
'struct objc_method'
                  SEL           sSel = methods[i].method_name;
                                       ~~~~~~~^
/usr/local/include/objc/runtime.h:107:16: note: forward declaration of 'struct 
objc_method'
typedef struct objc_method *Method;
               ^
GormObjectInspector.m:249:36: error: subscript of pointer to incomplete type 
'struct objc_method'
                      const char        *tInfo = methods[i].method_types;
                                                 ~~~~~~~^
/usr/local/include/objc/runtime.h:107:16: note: forward declaration of 'struct 
objc_method'
typedef struct objc_method *Method;
               ^
GormObjectInspector.m:326:21: error: incomplete definition of type 'struct 
objc_method_list'
              mlist = mlist->method_next;
                      ~~~~~^
GormObjectInspector.m:226:11: note: forward declaration of 'struct 
objc_method_list'
          struct objc_method_list       *mlist = c->methods;
                 ^
6 errors generated.


ProjectCenter compilation failure:

clang PCAddFilesPanel.m -c \
      -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions 
-fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fPIC -DDEBUG 
-fno-omit-frame-pointer -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -g 
-O0 -fgnu-runtime -DDEVELOPMENT 
-DPCDefaultBuildTool=@"\"/usr/local/bin/gmake\"" 
-DPCDefaultDebugger=@"\"/usr/bin/gdb\"" 
-fconstant-string-class=NSConstantString -I../ -I../Headers -I./derived_src -I. 
-I/usr/local/include 
-I/projectcenter-0.6.0_writes_to_HOME/GNUstep/Library/Headers 
-I/usr/local/include \
       -o obj/ProjectCenter.obj/PCAddFilesPanel.m.o
PCAddFilesPanel.m:96:10: error: use of undeclared identifier '_fileTypes'; did 
you mean 'fileTypes'?
  ASSIGN(_fileTypes, fileTypes);
         ^
/usr/local/include/GNUstepBase/GNUstep.h:124:17: note: expanded from:
  id __object = object; \
                ^
PCAddFilesPanel.m:92:33: note: 'fileTypes' declared here
- (void)setFileTypes:(NSArray *)fileTypes
                                ^
PCAddFilesPanel.m:96:10: error: use of undeclared identifier '_fileTypes'; did 
you mean 'fileTypes'?
  ASSIGN(_fileTypes, fileTypes);
         ^
/usr/local/include/GNUstepBase/GNUstep.h:125:3: note: expanded from:
  object = [(value) retain]; \
  ^
PCAddFilesPanel.m:92:33: note: 'fileTypes' declared here
- (void)setFileTypes:(NSArray *)fileTypes
                                ^
2 errors generated.
gmake[3]: *** [obj/ProjectCenter.obj/PCAddFilesPanel.m.o] Error 1
gmake[2]: *** [internal-framework-run-compile-submake] Error 2
gmake[1]: *** [ProjectCenter.all.framework.variables] Error 2
gmake[1]: Leaving directory 
`/home/ports/pobj/projectcenter-0.6.0/ProjectCenter-0.6.0/Framework'
gmake: *** [internal-all] Error 2
*** Error code 2




reply via email to

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