Problem with segment size

==========================================================================
Hello,
I’ve got a piece of code that compiles fine. After I’ve added a couple
of
includes it still works. When I try to add a (global of local) variable
in
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
too
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
forward
declarations) but that only resulted in the same error in another
(non-stl)
include file.

(Oddly enough, when the code is compiled with the -ml option the
compiler
doesn’t generate the error, although the -ml model is not defined in the
32
bit model).

I realize that the description above is a bit cryptic, but if somebody
could
at least give me a clue what might be wrong, I would appreciate it.

Thanks,
Conrad

Compiler version: 10.6
OS : QNX 4.24

Hi,

I have the same problem like Conrad. I find this on the homepage of
Sybase without any answer since
Oktober 1999. I hope somebody can help us.

Thanks,

Marius.