I am trying to use WindRiver Diab compiler from within CodeWarrior IDE without success. I keep on getting errors such as:
{PATH}\MCF5282.h, line 42: warning (dcc:1504): arglist in declaration
{PATH}\MCF5282.h, line 42: error (dcc:1082): illegal storage class
{PATH}\MCF5282.h, line 42: error (dcc:1117): identifier __declspec not an argument
{PATH}\MCF5282.h, line 42: error (dcc:1633): parse error near 'uint8'
{PATH}\MCF5282.h, line 43: warning (dcc:1504): arglist in declaration
{PATH}\MCF5282.h, line 43: error (dcc:1082): illegal storage class
{PATH}\MCF5282.h, line 43: error (dcc:1633): parse error near 'uint8'
etc.
where PATH is "C:\program files\freescale\codewarrior for coldfire v7.0\coldfire_support\(headers)\MCF5282"
It seems like the statement:
#pragma define_section system ".system" far_absolute RW
is not being recognized by Diab.
Any help in using Diab from within CodeWarrior will be appreciated.
Thanks,
Simon