thanks for your reply. I am aware of the #define option. I guess my problem needs a bit more specification:
My code looks more simular to the following:
It will work in VC6 if I remember to declare all the integers as const, but CCS ...buhuu... still sees 'bufsize' as a variable.
#define BUFSIZE(x,y) ((x)+(y))
const int x = 2;
const int y = 3;
const int bufsize = BUFSIZE(x, y);
Provided this new information, does anyone have an idea how to make my bufsize constant?
Best regards, Esben.