Whenever I do the prescribed #separate directive by placing it directly above a function, I end up getting the following error:
" Function definition different from previous definition"
Am I supposed to then put a #separate directive on the line prior to my function prototype as well?
e.g.
#separate
void mike(void); // function prototype
....
#separate
void mike(void) /* function implementation */
{
...
}
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Thu Apr 01, 2004 9:32 am
Yes, befor the prototye and befor the function. Of course the gold test is to try it and see! _________________ The search for better is endless. Instead simply find very good and get the job done.
valemike Guest
Posted: Thu Apr 01, 2004 9:45 am
yup, i tried it earlier, and it passed the gold test
yet i do have other issues making stuff that worked on 18F devices to now work on 16F, as you can see in my flurry of other recent posts. I Just wanted to get the #separate issue out of the way.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum