View mode: basic / threaded / horizontal-split · Log in · Help
February 22, 2006
Compiler-Error
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
March 02, 2006
Re: Compiler-Error
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
> 
>
June 20, 2007
Re: Compiler-Error
The same problem

I using

#define __stl_new    malloc
#define __stl_delete free

and it works
Top | Discussion index | About this forum | D home