View Single Post
  #2   Spotlight this post!  
Unread 19-02-2007, 00:51
schroedinbug schroedinbug is offline
Registered User
FRC #0443
 
Join Date: Feb 2007
Location: Denver
Posts: 3
schroedinbug is an unknown quantity at this point
Re: Variadic functions with mcc18

Quote:
Originally Posted by Alan Anderson View Post
Your printfs will compile but will fail to work if you don't #include <stdio.h>.
This is in the user_routines.c file, which does have that defined. I'd expect the printf calls to work, since I've used them outside the function in the same source file. It seems that the program doesn't even go into the variadic function.