I'm writing a rather large 16-bit app. but I have encountered some problems.
I need some constats in a class ( aprox. 24K ) so I have made them const and static. However the compiler gives me the message "To much global data".
How much static data am I allowed to use? I would think something like 64K?
I'm using the large (even tried the huge) model so SS != DS. There is some other const data in the code (such as string constants) but probably <2K so that shouldn't be a problem.
The realy strange part however is that if I remove some functions, even ones that doesn't contain data, the whole thing compiles fine.
Please, my hair is turning gray.. any ideas on how to fix this?