Advertisement

TOC size of 72807 bytes exceeds 64k limit

Started by November 09, 2000 05:23 PM
11 comments, last by David20321 24 years ago
Now it says that all my global variables are "multiply-defined"
#ifndef __GLOBALS_H__
#define __GLOBALS_H__

extern vartype varname

#endif

then in the main cpp file put

vartype varname
Those who dance are considered insane by those who cannot hear the music.
Advertisement
Oh great, I just split my main file into a bunch of really small files for each function and guess what error it gives me? "TOC size of 74927 bytes exceeds 64k limit." Grrrrr. I have a feeling I did all this ?&$ for nothing... Anybody have any idea why this still won't work? I'm pretty sure that it's adding my other header files together to make the total of 74927 bytes or whatever, because I have a lot more code in my header files than my main file.

Edited by - David20321 on November 11, 2000 1:29:17 AM

This topic is closed to new replies.

Advertisement