Boost C++ Libraries: Ticket #285: Borland compiler error with Pool, boost::pool_allocator https://svn.boost.org/trac10/ticket/285 <pre class="wiki">This Borland compiler error occurs with boost release versions 1.30.2 and 1.31.0. It also occurs with the latest CVS checkout as of July 9, 2004. I've tried this on two Win2000 computers with totally different hardware (Intel, AMD). Borland compilers from Borland Builder5 and from Borland BuilderX both generate an internal compiler error with a typedef of pool_allocator&lt;int&gt;. The source code file t.cpp contains: #include &lt;boost/pool/pool.hpp&gt; typedef boost::pool_allocator&lt;int&gt; node_alloc; Here is a copy of the DOS window for the two compiles: D:\&gt;c:\borland\CBUILDER5\BIN\bcc32 - I\src.misc\boost;c:\borland\CBUILDER5\include t.cpp Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland t.cpp: Fatal F1004 t.cpp 2: Internal compiler error at 0x46f530 with base 0x400000 Fatal F1004 t.cpp 2: Internal compiler error D:\&gt;c:\borland\CBUILDERX\BIN\bcc32 - I\src.misc\boost;c:\borland\CBUILDERX\include t.cpp Borland C++ 5.6.4 for Win32 Copyright (c) 1993, 2002 Borland t.cpp: Fatal F1004 t.cpp 2: Internal compiler error at 0x4394f6 with base 0x400000 Fatal F1004 t.cpp 2: Internal compiler error </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/285 Trac 1.4.3 Nicola Musatti Thu, 28 Jun 2007 09:49:34 GMT status, resolution changed; severity set https://svn.boost.org/trac10/ticket/285#comment:1 https://svn.boost.org/trac10/ticket/285#comment:1 <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">wontfix</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> This problem is caused by a <a class="missing wiki">CodeGear</a> (formerly Borland) compiler bug which was fixed in the 5.9.0 version, which corresponds to C++ Builder 2007. </p> Ticket john_wilson@… Fri, 06 Jul 2007 16:23:27 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/285#comment:2 https://svn.boost.org/trac10/ticket/285#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">wontfix</span> </li> </ul> <p> "bug which was fixed in the 5.9.0 version, which corresponds to C++ Builder 2007. " so how come using C++Builder2007 I get </p> <p> [BCC32 Error] CPhaseEnvelopeSet.cpp(87): F1004 Internal compiler error at 0x54efc3f with base 0x54a0000 </p> <p> ? </p> Ticket Nicola Musatti Wed, 22 Aug 2007 13:31:02 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/285#comment:3 https://svn.boost.org/trac10/ticket/285#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">wontfix</span> </li> </ul> <p> The example posted in the original report compiles without problems with bcc32 5.9.1, i.e. C++ Builder 2007 with Update 2 installed, Boost 1.34.1 and the bcbboost patches, available at <a class="ext-link" href="http://bcbboost.sf.net"><span class="icon">​</span>http://bcbboost.sf.net</a> </p> Ticket