??? 11/10/04 14:55 Read: times |
#80938 - RE: So where does Keil come into it? Responding to: ???'s previous message |
I'm traying to use openTCP, it is designed to work with Keil and I'm translating it to SDCC.
I'm having a problem with this line: .h file: INT8 udp_getsocket (UINT8 , INT32 (*)(INT8, UINT8, UINT32, UINT16, UINT16, UINT16), UINT8); .c file: INT8 udp_getsocket (UINT8 tos, INT32 (*listener)(INT8, UINT8, UINT32, UINT16, UINT16, UINT16), UINT8 opts) { ... } Any one knows how to translate this place of code to compile with SDCC ? With this sintax it complains with: Actual argument type different from declaration 2 from type 'long-int generic* function (char, unsigned-char,unsigned-unknown type, unsigned-int, insigned-int, unsigned-int)' to type 'long-int function (char, unsigned-char, unsigned-long-int, unsigned-int, insigned-int, unsigned-int) code*' Thanks Hernán Sánchez |
Topic | Author | Date |
GMI free Ip stack port from keil 2 SDCC | 01/01/70 00:00 | |
RE: GMI free Ip stack port from keil 2 SDCC | 01/01/70 00:00 | |
Alternatively | 01/01/70 00:00 | |
Just a minute... | 01/01/70 00:00 | |
RE: GMI free Ip stack port from keil 2 SDCC | 01/01/70 00:00 | |
So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
Ported - not designed :-( | 01/01/70 00:00 | |
RE: So where does Keil come into it? | 01/01/70 00:00 | |
All OK now, then? | 01/01/70 00:00 | |
Off to Hitech C forums.......Next step. | 01/01/70 00:00 | |
You gets wot you pays for...? | 01/01/70 00:00 | |
Gembin Ip stack | 01/01/70 00:00 | |
Dead thread?![]() | 01/01/70 00:00 |