Structures and pointers in SDCC

Thread Starter

Louise

Joined Jan 17, 2010
13
Hello!
Does anybody have any experience dealing with *structures/unions/ pointers and parameter passing using the C programming language in Small Device C Compiler? I'm trying to 'port' (if that is the right term) 'generic' usb code (from Atmel) intended for a Keil compiler into SDCC and have 'ironed out' some 'creases' so far. However, I'm having a bit of a struggle trying to get to grips with those* areas. Actually I'm finding it quite hard anyway as I keep getting error messages for using "Old style C"! A pointer (excuse the pun) in the right direction (re:useful examples and/or explanations) would be very popular!
(It occurs to me I probably should have posted this in programmers corner . . . it is an embedded project though!)
 
Last edited:
Top