- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Some of my compilations are failing with messages like
Debugxyz.obj(0): catastrophic error: too many segments in object file
I haven't found any documentation on exactly what this means or how I might avoid it. The programs involved are not large (the exe'swould beless than 4 MB, extrapolating from some projects that work) although they are very heavy on templates and some of the object files are surprisingly big (~50 Mb).
Some experimenting suggests that there is a de facto limit on the number of template instantiations in a single object file. I have a 'top-level' template that instantiates many other templates. Compilations work for programs that have two distinct instantiations of the top-level template, but compilations with three distinct instantiations of the top-level template fail with the 'too many segments' error.
I'm using the 8.1 compiler for Windws (W_CC_PC_8.1.019).
Does anyone have more information or work-around suggestions for this problem?
Thanks,
Ron
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page