Game Development Community

TGEA with STL

by Tray Weeds · in Torque Game Engine Advanced · 02/27/2009 (9:51 am) · 1 replies

I've looked at all the STL with Torque resources and articles but they appear to be fairly old, 2+ years (stl_fix.h).

I've using TGEA 1.7.1 with VS 2008 Pro, and I'm getting seg faults when using STL strings.

Some of the more recent posts suggest including <string> before any other Torque includes (what does this mean, .h, cpp, both? only classes I use STL in?). I can't seem to get this to work. My code compiles fine but segs when I run it.

I have
#define TORQUE_DISABLE_MEMORY_MANAGER

Could someone please assist who has STL working in TGEA? Ideally it's just a compile issue with very few code changes.

#1
03/05/2009 (8:21 pm)
I don't understand why STL compatibility isn't a compile flag mode.