From: Scott Sanbeg <ssanbeg@interglobe.com>
Subject: Anyone Compile GCC 2.7.2.1 on DEC OSF/1 v3.2?
Date: 1997/01/14 [thread overview]
Message-ID: <32DBEE6C.197D@interglobe.com> (raw)
Hello All,
I get:
In file included from
/usr/users/ssanbeg/gcc-2.7.2.1/include/stdio.h:348,
from runtime.h:31,
from sendmsg.c:28:
../getopt.h:22: parse error before string constant
../getopt.h:126: parse error before `}'
In file included from runtime.h:35,
from sendmsg.c:28:
../assert.h:25: parse error before string constant
In file included from runtime.h:37,
from sendmsg.c:28:
../objc/objc.h:54: parse error before `sel_eq'
../objc/objc.h:150: parse error before `}'
In file included from runtime.h:38,
from sendmsg.c:28:
../objc/objc-api.h:81: parse error before `objc_trace'
../objc/objc-api.h:81: warning: data definition has no type or storage
class
../objc/objc-api.h:346: parse error before `sel_is_mapped'
../objc/objc-api.h:346: warning: data definition has no type or storage
class
../objc/objc-api.h:381: parse error before `class_is_class'
../objc/objc-api.h:387: parse error before `class_is_meta_class'
../objc/objc-api.h:457: parse error before `object_is_class'
../objc/objc-api.h:463: parse error before `object_is_instance'
../objc/objc-api.h:469: parse error before `object_is_meta_class'
In file included from sendmsg.c:28:
runtime.h:57: parse error before `__objc_class_links_resolved'
runtime.h:57: warning: data definition has no type or storage class
runtime.h:68: parse error before `__objc_responds_to'
runtime.h:68: warning: data definition has no type or storage class
In file included from sarray.h:50,
from sendmsg.c:29:
../assert.h:25: parse error before string constant
sendmsg.c:94: parse error before `__objc_responds_to'
*** Exit 1
Stop.
*** Exit 1
Stop.
... latest bison, binutils-2.7 is installed. The line in ./getopt.h
that
causes the problem is:
#ifdef __cplusplus
extern "C" {
#endif
and, similarly, the trailing error is the above's #endif, such that:
#ifdef __cplusplus
}
#endif
... causes it.
Anyone know what the problem is this time??
Scott
--
--
Scott Sanbeg INTERNET: ssanbeg@interglobe.com
interGlobe Networks, Inc. OFFICE: 206.623.2222
1520 Fourth Avenue, Suite 200 FAX: 206.623.0885
Seattle, WA 98101 INFO: info@interglobe.com
This is my opinion and mine alone. URL: http://www.interglobe.com
reply other threads:[~1997-01-14 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox