Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2007-04-03 14:52:30

Bugs item #1693834, was opened at 2007-04-03 21:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: serialization
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Farid (farid_zaripov)
Assigned to: Robert Ramey (ramey)
Summary: 'NULL' undefined in basic_serializer_map.cpp

Initial Comment:
I have been working on the Apache C++ Standard Library project (STDCXX):

I've trying to compile the boost library with stdcxx.

The details can be found here:

Boost version: 1.33.1
STDCXX version: 4.2

I've got the error in basic_serializer_map.cpp:

D:\_Libs\boost_1_33_1\libs\serialization\build\../src/basic_serializer_map.cpp(72) : error C2065: 'NULL' : undeclared identifier

    CALL "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\vcvars32.BAT" >nul
    "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\cl" /Zm800 -nologo /EHsc -c -DBOOST_LIB_DIAGNOSTIC=1 -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd -Gy -wd4996 /Zc:forScope /Zc:wchar_t -I"bin\boost\libs\serialization\build" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-8.0\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\serialization\build\libboost_serialization.lib\vc-8_0-stdcxx\debug\runtime-link-static\threading-multi\basic_serializer_map.obj" -Tp"D:\_Libs\boost_1_33_1\libs\serialization\build\../src/basic_serializer_map.cpp"

I propose to #include <stdlib.h> to define the NULL macro.


You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at