I’ve got a piece of code that compiles fine. After I’ve added a couple
includes it still works. When I try to add a (global of local) variable
one particular cpp-file the compiler responds with the message 094 :
Fatal *** segment too large” somewhere in a stl-header file.
If I remove the variable or comment out an arbitrary piece of code, the
code compiles again. It looks as if both the code and data-segment are
small, but that’s quite strange because we’re working with a 32-bit 4Gb
(small) memory model.
I have tried cleaning up the include files (replacing includes with
declarations) but that only resulted in the same error in another
(Oddly enough, when the code is compiled with the -ml option the
doesn’t generate the error, although the -ml model is not defined in the
I realize that the description above is a bit cryptic, but if somebody
at least give me a clue what might be wrong, I would appreciate it.