Should your headerCfg (2nd argument) be passed as a pointer instead of copying the structure?
Greg -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tebogo Sent: Wednesday, October 14, 2009 3:33 PM To: [email protected] Subject: [Sdcc-user] SDCC copiler error I keep getting an error whenever I compile a the following piece of code // In a header file I have the declaration of a function void sendData( uint8 *payLoad, hdrInfo_t headerCfg ); // In the application source file I have the following invocation sendData( payLoad, txCfg); // Declaration of payLoad uint8 payLoad[10]; The error details: Error 78: incompatible types from type 'struct __00010000' to type 'struct __00010000 generic*' I am at my wit's end please help -- Regards, Tebogo Thebe This message and attachments are subject to a disclaimer. Please refer to www.it.up.ac.za/documentation/governance/disclaimer/ for full details. / Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar. ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Sdcc-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sdcc-user
