From: SourceForge.net <noreply@so...>  20030603 17:18:30

Bugs item #748310, was opened at 20030603 13:18 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=748310&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: David Jasinski (djasinsk) Assigned to: Nobody/Anonymous (nobody) Summary: compiling gmp.h using sdcc Initial Comment: Bernhard, Thank you for looking at my problem. I do not think that your suggestion has not fixed my problem. Defining size_t like this: #define size_t unsigned int and commenting the reference to stddef.h does gives the same error as if I pointed to the gcc version of stddef.h. We also tried defining size_t with "typedef". The error is below: /rcg/djasinsk/rsa/gmp.h:385: error: too few parameters /rcg/djasinsk/rsa/gmp.h:385: error: too few parameters /rcg/djasinsk/rsa/gmp.h:385: error: too few parameters /rcg/djasinsk/rsa/gmp.h:585: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:597: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:702: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:705: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:736: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:883: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1019: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1055: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1105: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1150: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1153: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1180: warning: type 'double' not supported assuming 'float' /rcg/djasinsk/rsa/gmp.h:1229: warning: type 'double' not supported assuming 'float' smart8051.c:218: error: code not generated for 'main' due to previous errors smart8051.c:434: error: code not generated for 'irq_time' due to previous errors Please let me know what you suggest, and thank you very much for your speedy first reply! 1.) The files have been uploaded. 2.) I run the code by typing "sdcc smart8051.c". 3.) I am running sdcc version: SDCC : mcs51/gbz80/z80/avr/ds390/pic14/pic16/TININative/xa51/ds400 2.3.5 (May 27 2003) (UNIX) 4.) bash2.05a$ sdcc smart8051.c In file included from smart8051.c:34: /rcg/djasinsk/rsa/gmp.h:41:20: stddef.h: No such file or directory /rcg/djasinsk/rsa/gmp.h:384: parse error: token > 'size_t' ; column 65 5.) My email address is djasinsk@... Thanks for your time, Sincerely, David Jasinski  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=748310&group_id=599 