On Monday 03 August 2009 18:03:34 roelof 't Hooft wrote: > Hi guys, > > This is driving me nuts, I have been searching in all the > obvious places for information on this but still can not > find what is wrong : > > utilities.h:15: error 7: Old style C declaration. IGNORED 'Delay' > utilities.h:15: error 141: two or more data types in declaration for > 'Delay' > > In the header file I have this : > > void Delay(uint16_t); > <snip>
Your function prototype should have a variable name in the call parameter, not just a type... e.g. void Delay(uint16_t T); I think what you have might have worked with K&R C back in the 80's, but it's so long ago I cannot remember now ;-) http://en.wikipedia.org/wiki/Function_prototype -- Richard. PGP Key-id: 0x5AB3D350 It may be that your whole purpose in life is simply to serve as a warning to others. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user