AnsweredAssumed Answered

Compiler Error " Illegal storage class" in Header file

Question asked by Daniel Fernandez on May 16, 2007
Latest reply on Nov 8, 2010 by ROB LUND

CodeWarrior IDE Version 4.2.6.895

HCS12A256

 

Hi all,

 

i have a little problem with the Compiler. I am on a project to create a Bootloader running in RAM for reprogramming flash memory. The -Pic –PicRTS options are activated for position independent code.

The Problem is that I receive the Compiler Error “Illegal storage class” for this definition in a Header File:

 

typedef struct

{

 unsigned char data[0x800];

 …..

 …..     

} STR_FPGA_MEM;

 

 

I can’t see the problem. Could somebody help me?

 


Thanks

Daniel

 

Outcomes