Go to Post Our "gracious professionalism" credo insists that we make decisions that are based solely on the desire to inspire and recognize science and technology using robot construction and competition as a vehicle. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2007, 23:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Variadic functions with mcc18

Your printfs will compile but will fail to work if you don't #include <stdio.h>.
  #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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Known Bug With mcc18 and Wine 0.9.22 ScottWalls Programming 1 05-11-2006 15:03
Using MCC18 in a custom program EHaskins Programming 15 25-04-2006 23:35
Auton + Functions ten3brousone Programming 0 27-02-2005 20:11
Cordic functions... Zalumaskov Programming 1 13-02-2005 00:58
subs/functions maDGag Programming 2 16-02-2003 23:27


All times are GMT -5. The time now is 04:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi