We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I've got a huge C++ class. When I compile it, the following error message occurs: error: class is too large I would like to know what this does exactly mean. Code too large, data too large ? What are the means to tackle this issue? I already tried this -> http://www.keil.com/forum/docs/thread15083.asp
Thanks a lot for your help,
Pierre
Data too large.. hmmmm.... In fact my huge class did not change: I only changed some code and data from an other class which is not really "included" in the huge one because accessed through a pointer.
class my_huge_class { my_other_class *ptr_to_it; };
The data I added is located in my_other_class and as ptr_to_it is only a pointer, the global size of my_huge_class should not have changed...
thanks for any ideas...