gnustep-dev
[Top][All Lists]
Advanced

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

libs-base fails to compile on OpenBSD


From: Riccardo Mottola
Subject: libs-base fails to compile on OpenBSD
Date: Sun, 2 Dec 2018 14:30:06 +0100
User-agent: Mozilla/5.0 (X11; OpenBSD i386; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4

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:

 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



reply via email to

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