URL:
<http://savannah.gnu.org/bugs/?33502>
Summary: SOPE can't be compiled with current gnustep and gcc
4.6
Project: GNUstep
Submitted by: bero
Submitted on: Thu 09 Jun 2011 02:06:05 PM GMT
Category: Libraries
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Attempting to build SOPE 1.3.7a
(http://www.sogo.nu/files/downloads/SOGo/Sources/SOPE-1.3.7a.tar.gz) with
current gnustep and gcc 4.6.x results in this error:
In file included from EOKeyValueCoding.m:27:0:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/objc-api.h:46:3:
error: #error You can not include both objc/objc-api.h and objc/runtime.h.
Include objc/objc-api.h for the traditional GNU Objective-C Runtime API and
objc/runtime.h for the modern one.
In file included from EOKeyValueCoding.m:27:0:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/objc-api.h:69:8:
error: redefinition of 'struct objc_method_description'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:87:8:
note: originally defined here
In file included from EOKeyValueCoding.m:27:0:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/objc-api.h:120:28:
error: conflicting types for 'Method'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:70:29:
note: previous declaration of 'Method' was here
In file included from EOKeyValueCoding.m:27:0:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/objc-api.h:174:30:
error: conflicting types for 'Category'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:75:31:
note: previous declaration of 'Category' was here
In file included from EOKeyValueCoding.m:28:0:
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/encoding.h:93:8:
error: redefinition of 'struct objc_struct_layout'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:1129:8:
note: originally defined here
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/encoding.h:102:6:
error: conflicting types for 'objc_layout_structure'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:1138:18:
note: previous declaration of 'objc_layout_structure' was here
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/encoding.h:104:7:
error: conflicting types for 'objc_layout_structure_next_member'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:1140:19:
note: previous declaration of 'objc_layout_structure_next_member' was here
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/encoding.h:105:6:
error: conflicting types for 'objc_layout_finish_structure'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:1141:18:
note: previous declaration of 'objc_layout_finish_structure' was here
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/encoding.h:108:6:
error: conflicting types for 'objc_layout_structure_get_info'
/usr/lib64/gcc/x86_64-unknown-linux-gnu/4.6.1/include/objc/runtime.h:1144:18:
note: previous declaration of 'objc_layout_structure_get_info' was here
make[5]: *** [obj/libEOControl.obj/EOKeyValueCoding.m.o] Error 1
The SOPE guys have looked at it and concluded it is a gnustep bug and should
be fixed here.
http://www.sogo.nu/bugs/view.php?id=1278#c2554
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33502>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep