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 support@ccsinfo.com

Error 112: Function used but not defined

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
gerard.perez



Joined: 25 Mar 2021
Posts: 1

View user's profile Send private message

Error 112: Function used but not defined
PostPosted: Thu Mar 25, 2021 12:17 pm     Reply with quote

Good afternoon,

I get the error mentioned in the subject when I compile my main program.
In my .c file where I have the main I make an include of a .h with the function header and, in principle from the project options I add the .c corresponding to the .h include.

When using a function of the .c I get this error when I try to compile.

If someone can help me I would be very grateful.
Thank you very much in advance.

-------------------------------------------------------------------------------------

Buenas tardes,

me aparece el error comentado en el asunto cuando compilo mi programa principal.
En mi archivo .c donde tengo el main hago un include de un .h con la cabecera de la función y, en principio a partir de las opciones del proyecto añado el .c correspondiente al include del .h.

Al usar una función del .c me salta este error cuando intento compilar.

Si alguien puede ayudarme se lo agradecería bastante.
Muchas gracias de antemano.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Mar 25, 2021 10:24 pm     Reply with quote

Which one of these IDE's are you using ?
- CCS IDE
- MPLAB X
- MPLAB vs. 8.92


Quote:
in principle from the project options I add the .c corresponding to the .h include

I don't know what this means. What do you mean by "in principle" ?


Quote:
Error 112: Function used but not defined

Tell us the name of the function that is not defined.
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