> -----Original Message----- > From: lpc2000@yahoogroups.com > [mailto:lpc2000@yahoogroups.com]On Behalf > Of heedaf > Sent: Sunday, April 02, 2006 6:44 PM > To: lpc2000@yahoogroups.com > Subject: [lpc2000] Re: C Code Error Help > > <snip> > I put static in front of the function call and it will debug now. > With my limited knowledge of C I'm not sure why this is the case. I > changed the function call name to ensure that it is an unique > without any luck. Any idea why static works? > Thanks for your help Mike, > Dewayne > > Static limits the scope of the function to the source module it is defined in. I'm not sure why it would fix your problem, other than there being another function in a different module or library with the same name, but a different prototype. Alas, with it defined as static, you cannot call the function from another module. Mike
Message
RE: [lpc2000] Re: C Code Error Help
2006-04-03 by Michael Anton
Attachments
- No local attachments were found for this message.