Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 03:37:37 15:37


Login with username, password and session length


Pages: [1]
Print
Author Topic: #SEPARATE in CCS V4.057  (Read 6326 times)
0 Members and 1 Guest are viewing this topic.
programmer_100
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 93
-Receive: 94


« on: October 23, 2007, 07:04:31 07:04 »

I am trying to use #SEPARATE in CCS C, but every time I try I get an error stating "Invalid overload function".
Has anyone had success using this directive, or had this error message, that can help?
Thanks.
Logged
picflash
Newbie
*
Offline Offline

Posts: 26

Thank You
-Given: 61
-Receive: 10


« Reply #1 on: October 25, 2007, 12:30:59 00:30 »

Can you post a demo code?
Logged
programmer_100
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 93
-Receive: 94


« Reply #2 on: October 25, 2007, 05:39:14 05:39 »

Can you post a demo code?

Hi Picflash,
The original code is far too large and complex to post here, so I created a small program I could post to show the problem,
In doing so I have fixed the problem, the problem now is I don't know how. I will investigate further.
Thanks for your post.
Logged
setoy
Guest
« Reply #3 on: October 25, 2007, 10:17:25 10:17 »

Do u have a prototype for #separate function? U need type #separate in a both places - in the prototype and in a function definition. Same for is for #inline and  #org.
Logged
programmer_100
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 93
-Receive: 94


« Reply #4 on: October 26, 2007, 01:04:37 01:04 »

Do u have a prototype for #separate function? U need type #separate in a both places - in the prototype and in a function definition. Same for is for #inline and  #org.

setoy,
You are 100% correct, that was the problem.
Good pickup.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC