P
Peter Smithson
Hi,
I'm very new to C++ so bear with me.
typedef list<string> jcllist; // list of strings
typedef map<string, jcllist> proglist; // associative array of lists
static proglist ProgList;
I do that within a normal function (it has to be called from C so
there's no classes or anything - also I'm new to this anyway so it's
easier for me).
Using aCC on hpux11 itanium, I get a warning about a 6Kb+ symbol name
being truncated to about 4Kb. Presumably these templates generate some
very long symbol names.
When I run the program, it gets a core dump somewhere in an allocator.
The same code works OK with visual studio 6.0 on Windows and with gcc on
hpux 11 32 bit pa-risc.
The warnings are making me think I've done something stupid. Is it
normal to do what I did? Should I be doing something different? I
realise I might have to explain more of the algorithim but maybe someone
will be able to see the problem straight away.
Thanks
Peter
I'm very new to C++ so bear with me.
typedef list<string> jcllist; // list of strings
typedef map<string, jcllist> proglist; // associative array of lists
static proglist ProgList;
I do that within a normal function (it has to be called from C so
there's no classes or anything - also I'm new to this anyway so it's
easier for me).
Using aCC on hpux11 itanium, I get a warning about a 6Kb+ symbol name
being truncated to about 4Kb. Presumably these templates generate some
very long symbol names.
When I run the program, it gets a core dump somewhere in an allocator.
The same code works OK with visual studio 6.0 on Windows and with gcc on
hpux 11 32 bit pa-risc.
The warnings are making me think I've done something stupid. Is it
normal to do what I did? Should I be doing something different? I
realise I might have to explain more of the algorithim but maybe someone
will be able to see the problem straight away.
Thanks
Peter