View Single Post
  #12   Spotlight this post!  
Unread 03-02-2005, 23:19
PVC Pirates PVC Pirates is offline
Programmer
#1058 (PVC Pirates)
Team Role: Programmer
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Londonderry, NH
Posts: 7
PVC Pirates is an unknown quantity at this point
Send a message via AIM to PVC Pirates Send a message via MSN to PVC Pirates
Re: strange warning when build program

Quote:
Originally Posted by Dave Scheck
Is it safe to say that you're including user_common.h in both user_routines.c and user_routines.h?

What if you put a print in those functions? Are you sure they're getting called? Did you typecast your variables in your printf?
I included user_common.h in user_routines.c, but I didn't know I needed to or should include it in user_routines.h . I did not put a printf in the get functions and I don't know for sure if they are being called. I did not consciously typecast the printf. What must be done to the printf? I will try the added include and the extra printf. Please tell me more about the typecasting of printf. Also, thanks for telling me about the code block.