CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

#ORG Problem

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
richi-d



Joined: 28 Aug 2007
Posts: 106

View user's profile Send private message

#ORG Problem
PostPosted: Sat May 05, 2012 3:14 am     Reply with quote

I tried this:

Code:
#ORG 0x10000,0x11000
void Variablen_Init(void)
   {
   CLR_WDT;}



and get this error message: *** Error 166 "D:\Controller_Software\V14\Init.c" Line 3(1,2): Invalid overload function Variablen_Init


Why? Controller is a PIC24FJ192GA108, Compiler 4.132
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Sat May 05, 2012 4:28 am     Reply with quote

You have another declaration of Variablen_Init somewhere. Possibly a function prototype, which _differs_ from this one - probably doesn't have the ORG.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group