swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] integer from pointer without a cast


From: Paul Johnson
Subject: Re: [Swarm-Support] integer from pointer without a cast
Date: Sun, 11 Jul 2004 07:24:49 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510

I seriously believe the compiler is trying to warn you about a typo.

please double-check your typing, because if you don't get the method typed in exactly the same way, the compiler doesn't find it. For example, if you have

- (double)getPrice: (int)x;

in the h file and

- (int)getPrice: x
{
}

then the compiler will not see the exact same thing and it won't find your method.

pj

Derek Farren wrote:
I see... but the header file which defines the method is imported, and it
looks ok.

Thanks
----- Original Message ----- From: "Scott Christley" <address@hidden>
To: <address@hidden>
Sent: Friday, July 09, 2004 11:45 AM
Subject: Re: [Swarm-Support] integer from pointer without a cast




--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700


reply via email to

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