opensubscriber
   Find in this group all groups
 
Unknown more information…

p : palm-dev-forum@news.palmos.com 16 April 2008 • 7:27PM -0400

Re: "First defined here"
by Lincoln Ramsay

REPLY TO AUTHOR
 
REPLY TO GROUP




On 16/04/2008, at 6:56 PM, Vivian.Chen wrote:
> When I compile my program, it says that "first defined here" in a  
> function.
>
> I've declear it in the .h, and implement it in .c.
>
> How this happen?

You've left out part of the error message.

The error is probably along the lines of:
"function takes args x, y but first defined here to take arguments x,  
y, z".

Commonly caused by having a non-matching prototype. If you change the  
args or return type and don't update the prototype you'll get this  
error.

--
Link



--
For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.