KEIL to SDCC

Steve Fairbairn steve.fairbairn@perwill.com
Tue Dec 17 08:31:00 GMT 2002


I have no idea what SDCC or KEIL are, but the 3rd error is likely cause by
the lack of prototype for printf.  If the implicit declaration of printf is
along the lines of printf("blah");, then the compiler will assume the
function to only take 1 parameter and not a va_args list.

Sort out error 2, and error 3 will probably vanish too.

Sorry I can't help with the more difficult parts of your email.

Steve.

-----Original Message-----
From: Karthik Bala Guru [mailto:tkarthikbalaguru@yahoo.co.in]
Sent: 17 December 2002 15:06
To: cygwin@cygwin.com
Subject: KEIL to SDCC 


Hi all,
I think i can post about SDCC doubts here !!!

I have thought of using SDCC rather than the
KEIL cross compiler.

I have some errors that i get when i run the
KEIL program in SDCC .

1) FL.c : 96  parse error : taken -> ' ' : column 0
	The above error occurs in line 96 which
is not present in the program and is indeed the
line next to the last line of my program ...
What is the problem actually ?  solution plz !

2) warning : function 'printf' implicit declaration
	what is this warning ? why this ?? i have 
inclued stdio.h 

3) error : too many paramaters . 
	I get the above error for the line
printf("%f", mine1) . what is it ? what is the 
solution ?

Do reply and solve these tiny problems.
Thanx in advance
karthik bala guru
tkarthikbalaguru@yahoo.co.in


________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

******************************************************* 
This email has originated from Perwill plc (Registration No. 1906964) 
Office registered at: 13A Market Square, Alton, Hampshire, GU34 1UR, UK 
Tel: +44 (0)1420 545000 
Fax: +44 (0)1420 545001 
www.perwill.com 
******************************************************* 
Privileged, confidential and/or copyright information may be contained 
in this email, and is only for the use of the intended addressee. 
To copy, forward, disclose or otherwise use it in any way if you are not 
the intended recipient or responsible for delivering to him/her is
prohibited.
If you receive this email by mistake, please advise the sender immediately, 
by using the reply facility in your email software.

We may monitor the content of emails sent and received via our network 
for the purposes of ensuring compliance with policies and procedures. 
This message is subject to and does not create or vary any contractual 
relationships between Perwill plc and the recipient. 
******************************************************* 
Any opinions expressed in the email are those of the sender and not 
necessarily of Perwill plc.
******************************************************* 
This email has been scanned for known viruses using 
McAfee WebShield 4.5 MR1a 
******************************************************* 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list