Internal compiler error in Pcode.c file

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Internal compiler error in Pcode.c file

547 次查看
dipikakamat
Contributor I

Hi all,

I am trying to compile a code using the CW ver 4.02 IDE for DSP56F805 MCU. The code was previously compilable and error free. However when i tried to copile this code yesterday,it gave me an error "internal compiler error in Pcode.c file at line 1003".This file is not found in my sources/project settings.Does any body have any idea about this file and how to get rid of such compiler errors?.Thanks in advance.

标签 (1)
0 项奖励
2 回复数

406 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello  Kamat

CW4.0.2 is an old version that was released before Y2001. We have no this version installed now, and the current Windows 7, 8 does not support this tool either. 

Whether compiler optimization is enabled in your project? Please disable the optimization to see whether there is any different. 

Please locate the code line which introduces the compiler error. There is a known problem in CodeWarrior 4.1 for such code:
 ImpulsiTOT = (OverloadCounter << 16) | DeltaImpulsi;

 If change it to:

 ImpulsiTOT = (OverloadCounter << 16);
ImpulsiTOT = ImpulsiTOT | DeltaImpulsi;

The compiler error will be worked around.

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励

406 次查看
dipikakamat
Contributor I

Hi,

Is it possible to get rid of this error without making any changes in the

code?May be changes in compiler linker settings?

Can you please provide me the steps to create a new project in code

warrior IDE 4.02.

I have the project file generated using this IDE.How do i add it to the

Workspace to compile it?

Can you please guide me?

Thanks and Regards,

Dipika Kamat

Assistant System Engineer

Tata Consultancy Services

STP-Unit,House No.65/A-5,

NEAR CIVIL & CRIMINAL COURT

ALTINHO, Mapusa- Goa,

India

Mailto: kamat.dipika@tcs.com.

=====

0 项奖励