Boost C++ Libraries: Ticket #877: 'NULL' undefined in basic_serializer_map.cpp https://svn.boost.org/trac10/ticket/877 <pre class="wiki">I have been working on the Apache C++ Standard Library project (STDCXX): http://incubator.apache.org/stdcxx/ I've trying to compile the boost library with stdcxx. The details can be found here: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200704.mbox/%3c7BDB2168BEAEF14C98F1901FD2DE64386573EB@epmsa009.minsk.epam.com%3e 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" &gt;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 &lt;stdlib.h&gt; to define the NULL macro. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/877 Trac 1.4.3 anonymous Fri, 01 Jun 2007 15:50:08 GMT <link>https://svn.boost.org/trac10/ticket/877#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/877#comment:1</guid> <description> <p> I've added this to my local version for testing. Assuming no problems, it will appear in 1.35 </p> </description> <category>Ticket</category> </item> <item> <dc:creator>farid_zaripov</dc:creator> <pubDate>Tue, 05 Jun 2007 17:13:24 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/877#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/877#comment:2</guid> <description> <p> The cross-reference link to the Apache STDCXX issue tracker: <a class="ext-link" href="http://issues.apache.org/jira/browse/STDCXX-430"><span class="icon">​</span>http://issues.apache.org/jira/browse/STDCXX-430</a> </p> </description> <category>Ticket</category> </item> <item> <author>farid_zaripov <faridz@…></author> <pubDate>Tue, 19 Jun 2007 17:37:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/877#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/877#comment:3</guid> <description> <p> May I hope that the changes will appear in 1.34.1? </p> </description> <category>Ticket</category> </item> <item> <author>ramey@…</author> <pubDate>Tue, 03 Jul 2007 17:07:56 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/877#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/877#comment:4</guid> <description> <p> Included as part of version 1.35 </p> <p> Robert Ramey </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Robert Ramey</dc:creator> <pubDate>Sun, 08 Jul 2007 21:08:45 GMT</pubDate> <title>status, resolution changed; severity set https://svn.boost.org/trac10/ticket/877#comment:5 https://svn.boost.org/trac10/ticket/877#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> Ticket