www.digitalmars.com         C & C++   DMDScript  

c++.stl.port - Compiler-Error

reply k_seeger gmx.net writes:
Hello together.

I'm using the STLport 4.5.3. Now I got problems during compiling a cpp-file.

Example:

If want to include a template, for example map (#include <map>) the compiler
sends the following Message:

E:\Programmierung\Compiler\DMC\dm\stlport\stlport\stlport\stl\_alloc.h(134) : Er
ror: undefined identifier '__stl_new'
E:\Programmierung\Compiler\DMC\dm\stlport\stlport\stlport\stl\_alloc.h(135) : Er
ror: undefined identifier '__stl_delete'
--- errorlevel 1

Can somebody help my about this problem?

Thank you in advance.

K. Seeger
Feb 22 2006
next sibling parent Scott Michel <scottm aero.org> writes:
What compiler flags were you using?

k_seeger gmx.net wrote:
 Hello together.
 
 I'm using the STLport 4.5.3. Now I got problems during compiling a cpp-file.
 
 Example:
 
 If want to include a template, for example map (#include <map>) the compiler
 sends the following Message:
 
 E:\Programmierung\Compiler\DMC\dm\stlport\stlport\stlport\stl\_alloc.h(134) :
Er
 ror: undefined identifier '__stl_new'
 E:\Programmierung\Compiler\DMC\dm\stlport\stlport\stlport\stl\_alloc.h(135) :
Er
 ror: undefined identifier '__stl_delete'
 --- errorlevel 1
 
 Can somebody help my about this problem?
 
 Thank you in advance.
 
 K. Seeger
 
 
Mar 02 2006
prev sibling parent kov_serg <kov_serg freemail.ru> writes:
The same problem

I using

#define __stl_new    malloc
#define __stl_delete free

and it works
Jun 20 2007