On Sat, 14 Apr 2007, Dheya Ghazi Mustafa wrote:

> Hi,
> I am trying to pass a pointer of struct to function.
> I received the following error.
> 
> C:/plansw_006_doc/CoordinateMapper.c:59: 
> error 52: Actual Argument type different from declaration 1 from type 'struct 
> piccolodatastruct generic* ' to type 'struct piccolodatastruct generic* '

You may need to add the statement:

  struct piccolodatastruct;

before your function definition or prototype. See the comp.lang.c FAQ
Question 11.5 for details:

  http://c-faq.com/ansi/structinproto.html

  Erik


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Sdcc-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to