[BUG REPORT] _STLP_DEBUG_ALLOC error

Developers
2010-02-05
2013-05-13
  • After open _STLP_DEBUG_ALLOC in user_config.h

    #define _STLP_DEBUG_ALLOC 1

    nmake occoured the following errors under MSVC 2008 SP1

    cl /nologo /W4 /EHsc /Zm800  /GL /MD /Zi /O2  /DWINVER=0x0501  /DWIN32 /D_WINDOWS /DNDEBUG  /I../../stlport  /c /Foobj\vc9\shared\allocators.o /Fdobj\vc9\shared\stlport.5.2.pdb ../../src\allocators.cpp
    allocators.cpp
    ../../src\allocators.cpp(61) : error C2059: syntax error : 'return'
    ../../src\allocators.cpp(64) : error C2661: 'operator delete' : no overloaded function takes 3 arguments
    NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.EXE"' : return code '0x2'