Hi


Sent from my iPhone

> On 2. Dec 2018, at 14:30, Riccardo Mottola <riccardo.mott...@libero.it> wrote:
> 
> Hi,
> 
> I just upgraded OpenBSD to 6.4, including all packages.
> The compiler did not change in revision, I guess it was just updated, so gcc 
> is still 4.9 from ports.
> 
> I recompile GNUstep from scratch and it fails:
> 

What platform are you on? Why don’t you take the path the packages take and use 
base clang, and libobjc2? 

I definitely don’t recommend to use the system libobjc, at least you seem to 
pick up system libobjc headers.

Sebastian 

>  Compiling file runtime.c ...
> In file included from runtime.c:35:0:
> /usr/include/objc/objc-api.h:365:1: error: unknown type name 'retval_t'
>  retval_t objc_msg_sendv(id, SEL, arglist_t);
>  ^
> /usr/include/objc/objc-api.h:365:34: error: unknown type name 'arglist_t'
>  retval_t objc_msg_sendv(id, SEL, arglist_t);
>                                   ^
> /usr/include/objc/objc-api.h:440:33: error: unknown type name 'MetaClass'
>  Method_t class_get_class_method(MetaClass _class, SEL aSel);
>                                  ^
> /usr/include/objc/objc-api.h: In function 'class_get_class_name':
> /usr/include/objc/objc-api.h:476:10: error: dereferencing pointer to 
> incomplete type
>    return CLS_ISCLASS(_class)?_class->name:((_class==Nil)?"Nil":0);
> 
> <etc>
> 
> 
> I suspect something wrong in gcc, but since it stayed to the same version 
> since previous OpenBSD, I do wonder!
> 
> Riccardo
> 
> _______________________________________________
> Gnustep-dev mailing list
> Gnustep-dev@gnu.org
> https://lists.gnu.org/mailman/listinfo/gnustep-dev


_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to