🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42556

? problems in objc/class.c when building gcc 2.7.1 on Solaris 2.5

#42556
From: Ulf Messner SMI European Softwar...
Date: Fri, 24 Nov 1995 00:00
22 lines
1437 bytes
Hi,

when I'm compiling gcc 2.7.1 on Solaris 2.5 (using gcc 2.6.3),
I get pretty far - beyond the fixincludes - but then I get an avalanche
of errors in class.c:

/opt/ulf/gcc-2.7.1/xgcc -B/opt/ulf/gcc-2.7.1/ -O \
	-c -DIN_GCC -DSVR4  -I/ext/ulf/gcc-2.6.3/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include  -I./include -I. -I.. -I/opt/ulf/gcc-2.7.1 -I/opt/ulf/gcc-2.7.1/config class.c
class.c:35: conflicting types for `_objc_lookup_class'
/ext/ulf/gcc-2.6.3/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include/objc/objc-api.h:286: previous declaration of `_objc_lookup_class'
class.c: In function `__objc_add_class_to_hash':
class.c:69: invalid type argument of `->'
class.c:72: invalid type argument of `->'
class.c:72: incompatible types in assignment
class.c:73: wrong type argument to unary exclamation mark
class.c:79: invalid type argument of `->'

and so on. I must have done something wrong.

Has anyone come across this?

Ulf
Technical Details
Message-ID: <494quv$ip@uk-usenet.uk.sun.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,ddfec8166394cebb,start
X-Google-Attributes: gid11318c,public
From: ulf@elc1.ireland.sun.com (Ulf Messner SMI European Software Centre )
Subject: ? problems in objc/class.c when building gcc 2.7.1 on Solaris 2.5
Date: 1995/11/24
Message-ID: <494quv$ip@uk-usenet.uk.sun.com>
X-Deja-AN: 120031687
distribution: world
organization: Sun Microsystems Inc.
reply-to: ulf@elc1.ireland.sun.com
newsgroups: gnu.gcc.help