CW 56F8323 - Illegal Implicit converstaion Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW 56F8323 - Illegal Implicit converstaion Error

1,940 Views
v_dave
Contributor IV
Hello,

I have some basic code I re-use for FIFO's. My project uses both the 8-bit MC9S08AW16 and the 56F8323 processors.

When I comple the same exact files on the 8-bit version of Codewarrior (6.0) I do not get any errors. But when I compile on the 56F800 compiler I get the following error:

Error : illegal implicit conversion from 'struct QUE **' to 'struct QUE *'
que.c line 92 return MAX_QUE_SIZE - 1 - Q_InUseCnt(&local);
This is the actual function call:
unsigned char Q_FreeCnt(que *local)
{
    return MAX_QUE_SIZE - 1 - Q_InUseCnt(&local);
}

What I would like to know is why it compiles in one version but causes an error in another version? Is there a way to fix this?


--
Alban Edit: FSL Part Number must figure in Message Subject line.



Message Edited by Alban on 2007-07-28 12:30 AM
Labels (1)
Tags (1)
0 Kudos
4 Replies

321 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
Difficult to determine the cause of this problem.
We need to reproduce the problem.
However we don't have enought details to reproduce it on our side.
Can I suggest you to log this problem to our support team via the web interface ?
Please provide us info about the tool version used, and the project or an example showing the behaviour.
 

For Technical Support Issues please use Freescale on line support web page.
- Go to following URL: http://www.freescale.com/TechSupport

- Click on Submit a Service Request. You will come to a login page.
- You can submit your request through the web from there.

Be aware the CodeWarrior Development Studio for Freescale 56800/E Digital Signal Controllers Version 8.1.1 is available. This is a patch for the DSC8.0 (must be installed in first)
You can download this version on our web site via the link:
http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=01272600617882140B

You can have several versions installed on the same PC. There is only one restriction: install them on separate folder.

Regards,

Pascal

0 Kudos

321 Views
v_dave
Contributor IV
Hello,
 
Thanks for the resposne.  I did enter this into the SR system about the same time I posted this message.  SR # 1-376071741.
 
I was hoping to get a quicker solution through the forums. 
 
 
0 Kudos

321 Views
trytohelp
NXP Employee
NXP Employee
Hi,
 
Thanks for the details.
The problem is investiagting by my colleague.
You will receive feedback soon.
 
Pascal
0 Kudos

321 Views
v_dave
Contributor IV
Hello,
 
Thanks for letting me know that someone is working on it.
 
I also PM'd you my response.
0 Kudos