[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swarm-Support] update target in FCall during make
From: |
Kenichi W Okamoto |
Subject: |
[Swarm-Support] update target in FCall during make |
Date: |
Fri, 28 Jul 2006 10:44:32 -0700 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.4) |
Hello there,
Does anybody know why the updatetarget function declaration in FCall.h
and defobj.h has different arguments from the updatetarget in FCall.m
(updatetarget(id call, id target) v.s. updatetarget(FCall_c *self, id
target) ) on Swarm2.2?
When running make I keep getting told there's a problem with
conflicting types:
FCall.m: At top level:
FCall.m:592: error: conflicting types for 'updateTarget'
../defobj/FCall.h:43: error: previous declaration of 'updateTarget' was here
make[5]: *** [FCall.lo] Error 1
Tried modifying FCall.h and defobj.h so that lines 43 and 1170,
respectively, read:
extern void updateTarget (FCall_c *self, id target);
to be consistent with FCall.m.
Whereupon:
./../defobj/defobj.h:1170: error: expected ')' before '*' token
Does anybody know how to get around this? I'm on RH9 Linux and am using
gcc-4.1.1...
Thanks in advance,
Ken
+++++++++++++++++++
K W Okamoto
Dept. Ecology & Evolutionary Biol.
UCLA
Los Angeles, CA 90025 USA
(310) 206-1464
- [Swarm-Support] update target in FCall during make,
Kenichi W Okamoto <=